Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
Preserving selected item when applying filter
posted

By default, putting a filter cell into edit mode causes SelectedItemsChanging/Changed to fire, which clears any previously selected item(s) from the Grid.

is there a suggested way to suppress/prevent this behavior?

More Info 2010-11-3

The exact events fired by the grid when a FilterRecord cell is focused in RecordDeactivating and RecordActivating. Since we are binding ActiveDataRecord to our ViewModel's SelectedItem, the Selected item is clearing, the detail area of the Master Detail View is clearing etc. After the filter is applied, the original selected item is "lost".

Client request is to preserve the selection (and thus the ActiveDataItem) while the filter is being applied. is there any way to do this while still using the built-in filter record/cells/presenters etc.?

Thanks for any input