This is a migrated thread and some comments may be shown as answers.

Exclude rows from being filtered

1 Answer 10 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chris McGrath
Top achievements
Rank 1
Chris McGrath asked on 21 Jul 2010, 11:25 PM
Hello,

I've got a RadGrid with some filter options and everything is working great, except that there is a particular row that I need to make sure is always displayed, even if it does not match the filter criteria.  Is there any way to force a row to always be visible while filtering?

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 26 Jul 2010, 03:07 PM
Hi Chris,

Attached is a small sample that demonstrates how to achieve your requirement. Notice how I have excluded the product with ID = 6. In a similar way in your own implementation you should just add an additional condition to the FitlerExpression property of the MasterTableView that excludes the row in question and rebind the grid.

Hope it helps.

Best wishes,
Tsvetoslav
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Chris McGrath
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or