SETTING THE ROW FILTER ON LOAD

Chintoo Semi

Total Post:135

Points:947
Posted by  Chintoo Semi
 793  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. john rob

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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!