|How to... [message #1011834]
||Wed, 20 February 2013 05:35
| Ludwig Moser
Registered: July 2009
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...)
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 )
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