This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
The filter / sorting in DataGrid get reset when assigning ItemsSource. How can I assign ItemsSource yet preserve the filters/sortings? |
|
|
Hello Nestor In the next nightly build, sorting and filtering will be preserved automatically when the ItemsSource is assigned. Jason Fauchelle |
|
|
That works great now. Thanks! now... a nice follow up addition would be to add a "ResetGrid" method to reset the grid to its default (in sorting, filtering,, etc) :-) |
|
|
Thanks for this feedback Nestor In the next nightly build, the DataGrid will have a ResetDisplayedItemsSource method which will remove sorting, filtering and grouping. Jason Fauchelle |
|