Home › Forums › WPF controls › Xceed DataGrid for WPF › Some items gets removed after refresh
My datagrid is bound to a list of products
I have a filter on it, To filter by sale price/amount of sales/profit
The datagrid is first populated by name, price, etc..
At this stage even if I filter the data everything is ok, Products aren’t getting removed when I update the filters
Then I extract more data by reaching to an api and updating the table.
After I update my filters at this stage and call
var ProductsView = ProductsGrid.ItemsSource as ListCollectionView;
some of the items which were updated gets removed for no reason.
What could cause items to get removed from a list after Refresh() ?
Never mind found the problem.. I did wrong filtering.. please remove this =/