Answer the question
In order to leave comments, you need to log in
Devexpress ASPxGridView how to hide rows where first column value is "Deleted"?
You want to hide rows where the value "Deleted" is in the first column.
I found the code, but it is for XtraGrid:
using DevExpress.XtraGrid.Views.Base;
using DevExpress.XtraGrid.Columns;
//...
ColumnView view = gridView1;
view.ActiveFilter.Add(view.Columns["CategoryName"],
new ColumnFilterInfo("[CategoryName] Like 'c%'", ""));
Who faced such a task?
I'm using version 15.2.
Asp.net web forms.
Answer the question
In order to leave comments, you need to log in
I would advise you to do it easier - your query should filter the lines that contain the word you don't need. Let's say in SqlDataSource use a query like:
SELECT *
FROM Categories
WHERE CategoryName NOT LIKE 'c%';
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question