Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » How to... (update data in nattable, with very customized config)
How to... [message #1011834] Wed, 20 February 2013 05:35 Go to previous message
Ludwig Moser is currently offline Ludwig Moser
Messages: 204
Registered: July 2009
Senior Member
Hello!

what i am doing is generating a full table config from config files.

so this is what i got included:
(columns - dynamic fom cfg files - also visibility of em, Groups etc...)
Filtering
Sorting

my main problem is due filtering/sorting i need to create FilterList, SortedList,
which will be passed to ColumnHeaderLayer and BodyLayer.

so whenever i get a new Input-list i need to dispose the table, and create another one (?)
thats what i am doing right now, but it would be WAY faster if i could simply exchange the data... and tell the table to check for changes (does not even need to happen automatically, as i know when this is going to happen Wink )

my table is fused with my dynamic config library, which is fused with my framework
so getting my table out of this context to show my problem is sort of tricky!

NOTE: i already tried to simply change the data in my AbstractDataSource (this class provides, columnNames, olumnIndexes for properties, propertyNames (as list), informations how to gain data from objects AND the list, which is displayed in the table )
but i have no clue which function from nattable api to call so it reads the data again and redraws...

any help appreciated.
thanks in advance
lumo
 
Read Message
Read Message
Read Message
Previous Topic:NatTableBuilder download?
Next Topic:Attaching one column to the right border?
Goto Forum:
  


Current Time: Fri May 24 14:23:13 EDT 2013

Powered by FUDForum. Page generated in 0.01726 seconds