|Updating or removing elemetns from DataProvider [message #1013450]
||Sat, 23 February 2013 12:34
| Daya D
Registered: February 2013
I'm looking for a way to update element or remove element from a NatTable. However, it looks this would require looping through all elements (ListDataProvider) and finding out index to be removed/added. Is there a way, i can do something like call remove(Object) or update(Object).I just want to avoid this iteration.
Is there a way i can keep a Map<Index, Object>, then i can use this index to directly extract object and update /remove from dataprovider without iterating through whole table? The concern here is with elements added/removed/updated to ListDataProvider, index would change and mapping in HashMap may not be relavant.
Thanks in Advance for your help.
Powered by FUDForum
. Page generated in 0.07672 seconds