Refresh NatTable [message #1712122] |
Wed, 21 October 2015 08:09  |
Eclipse User |
|
|
|
Hello All,
I created the NatTable by using the ListDataProvider and IColumnPropertyAccessor and used FilterList, GlazedListsEventLayer, GlazedListTreeData, ITreeRowModel for event handling and displaying the data in tree format.
Implementation Details :
-----------------------------------
1. created an emf model, initialized it with the data from the xml file.
2. retrieve the selected data from the emf model and set it to the natTable.
3. natTable working fine as expected.
When Problem occur:
-------------------------------
1. when user modify the xml file from notepad and gets this change notification in the code.
2. after modifying the xml file I am re-initializing the model.and refresh the table.
3. after refreshing the natTable the changes in the model does not appearing in the table.
so could someone explain me the best approach to solve this problem
that is when file gets modified, the model get reinitialized, so how to set this reinitialized model data to the table.
Thanks
Regards
Shashi
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04925 seconds