Posted 9 October 2017, 1:14 am EST
if item in CollectionView is removed, FlexGridFilter does not reflect the new status. I already tried refreshing both collectionview and the grid itself.
Forums Home / Wijmo / General Discussion
Posted by: giuseppe.russo on 9 October 2017, 1:14 am EST
Posted 9 October 2017, 1:14 am EST
if item in CollectionView is removed, FlexGridFilter does not reflect the new status. I already tried refreshing both collectionview and the grid itself.
Posted 9 October 2017, 4:28 pm EST
Hi Giuseppe,
If we understand correctly, you have a FlexGrid with different items with filter. Now, you delete the item from the FlexGrid and the item still getting displayed in FlexGridFilter dialog box.
If yes, we are sorry we unable to replicate the issue at our end.
Open http://demos.wijmo.com/5/Angular2/FlexGridFilter/FlexGridFilter/
Apply Filter for Germany in Country column
Select all cells for Country Column
Delete the values using delete key
Click on filter button
Germany is not shown
~Manish Kr Gupta
Posted 15 October 2017, 9:22 pm EST
Hi
Thanks for you’re reply, let me explain the problem with more details
populate grid getting data from db (the data is submitted with params to get different datasets e.g. give me results from today)
click on the header to sort the results
click button to reload
populate grid getting data from db (the data is submitted with params to get different datasets e.g. give me results from 2 days ago)
the grid does not update I can see the json is different from the console
I tried calling collectionview.refresh() and grid.refresh() after hitting the button again but not working either.
If I try filter.clear() the results are not showing in the grid at all.
could you please advise?
Posted 16 October 2017, 6:28 pm EST
Hi,
We are sorry but we have not be able to replicate the issue. In order to help us understand the problem better, could provide us a sample application which depicts the issue.
Thanks,
Abhishek