Setting The Row filter On Load

How can I set the Row filter to a value so when the form loads it filters by that columns value in devexpress gridview.
Last updated:11/20/2014 2:29:51 AM

1 Answers

Anonymous User
Anonymous User

I thought you were using the ASPxGridView. If you are using a Winforms grid, the code should be:

gridView1.ActiveFilterCriteria = new DevExpress.Data.Filtering.BinaryOperator('Status', 'P');

Answer