Setting The Row filter On Load

Total Post:135

Points:947
 1031  View(s)
Ratings:
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.
  1. Post:108

    Points:756
    Re: Setting The Row filter On Load

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

      Modified On Apr-06-2018 11:09:26 PM

Answer