|
Re: Update / refresh Nattable [message #1057901 is a reply to message #1057836] |
Thu, 09 May 2013 15:51 |
Nandita Uppalapati Messages: 16 Registered: March 2013 |
Junior Member |
|
|
I have the same issue. I have a natTable with some drop downs outside of it. The very first time when I create a natTable it shows up. But when I choose a different value in the drop down, I am updating my data provider with entirely new rows and columns, disposing off the natTable instance and creating a fresh one using
natTable = new NatTable(parent, gridLayer, false);
When doing this I am creating a new data Provider instance with the new rows and columns, a new bodyLayer, compositeFreezeLayer and the likes. But the new natTable doesn't show up. When I minimize my application and maximize it that is when it shows up. I tried refresh, but I guess refresh only works for the existing instance of natTable and not a new one if I am not wrong. Is this a wrong approach?
[Updated on: Thu, 09 May 2013 15:52] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04369 seconds