Hello ,
In .net maui windows, I have DataGrid Binding to ObservableCollection of a class . Based on this article I was able apply filter
Filtering in .NET MAUI DataGrid control | Syncfusion
I have two scenario's that needs Filtering to be maintain on the DataGrid irrespective of . The columns remain the same for both scenario's
1) When the Customer changes the List of Order are different but Filter would remain same on same columns
We would like to maintain the same filter after changing ItemSource in ViewModel
e
2) Customer remains the same but when Order Info is refreshed with updated data i.e. Status or Shipped Qty etc.,
For Both scenario's current behavior is The Filtering is lost and user had to re apply filter. How to maintain filter even if Item Source with changes on DataGrid with same set of Columns.
Is there any way to set the Filter from ViewModel ?
thanks