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

Updating filtered view of RadGridView

1 Answer 44 Views
GridView
This is a migrated thread and some comments may be shown as answers.
TONY
Top achievements
Rank 1
TONY asked on 20 Sep 2011, 04:32 PM

How can I get the RadGridView to re-apply the column filters when the values in the ItemSource are changed outside of the RadGridView's UI edit cycle?

In my case, the user applies a column filter to the view. Afterwards another action updates a data item in the ItemSource to match the filter parameter.  The RadGridView does not show the updated data item.  Is there some other step to take to tell the RadGridView that
the filter needs to be reevaluated.

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 21 Sep 2011, 03:28 PM
Hi Tony,

You are correct. RadGridView does not listen for INotifyPropertyChanged of its items for performance reasons. You have to manually let RadGridView know that something has changed as described here.

Another option is to remove->edit->add the item, but the above approach is recommended.

Best wishes,
Ross
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
TONY
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or