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

Detect when row is added in a filtered grid

1 Answer 60 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marcus
Top achievements
Rank 1
Marcus asked on 31 May 2013, 04:31 PM
I have a grid with filtering applied on various columns.  I want to alert the user whenever a new row is added to the grid, but I can't just observe the Items.CollectionChanged event, as many of these rows won't necessarily be displayed due to the active filtering.  I only want to alert when a row has been added and is viewable in the grid (even if it's currently out of scroll view).

Is there an event that I can use, or method that I can check if a row is filtered or not?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Marcus
Top achievements
Rank 1
answered on 31 May 2013, 04:58 PM
Don't worry, think I've figured it out.  The grid's Items.CollectionChanged does only fire when a viewable row is added.  Think that will suit me just fine.
Tags
GridView
Asked by
Marcus
Top achievements
Rank 1
Answers by
Marcus
Top achievements
Rank 1
Share this question
or