Home > DeveloperSection > Forums > Setting The Row filter On Load
Chintoo Semi

Total Post:135

Posted on    November-19-2014 10:41 PM

 ASP.Net Devexpress 

 1 Reply(s)
 748  View(s)
Rate this:
How can I set the Row filter to a value so when the form loads it filters by that columns value in devexpress gridview.

john rob

Total Post:108

Posted on    November-20-2014 2:29 AM

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");

Don't want to miss updates? Please click the below button!

Follow MindStick