|how to add a new row in the filter list, if rows are already filttered. [message #1164066]
||Thu, 31 October 2013 12:09
| SD Khan
Registered: May 2013
I have implemented IFilterStrategy and applying filter on table and it works fine. Now, i have a requirement to add a new row in the filter list. when i add it, as new row does not satisfy the given filtering criteria so it get's added in the main event list but does not get visible.
As filtering criteria is keeping the filter list in the persistent state and reject any other row which fails to satisfy the criteria.
How i can remove that persistence, once the filter is applied ? (Note: i do not want to remove criteria ,as then all the rows get visible, i only wants to add a new row in the already filtered rows).
One solution in my mind is to apply the filter again after adding a new row and create another matcher which will filter only that row on the base of it's unique id, while rest of the rows will be filtered on the same previous criteria that was before adding a new row. Is it a right approach?, if there is any easy or better solution available then please suggest ?
Powered by FUDForum
. Page generated in 0.01800 seconds