Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Refreshing NatTable with GlazedLists
Refreshing NatTable with GlazedLists [message #1406321] Sat, 09 August 2014 18:20 Go to next message
Ralf Heydenreich is currently offline Ralf HeydenreichFriend
Messages: 235
Registered: July 2009
Senior Member
Hi all,
I've built a NatTable with GlazedLists. The source for the List comes
from a database. The table is rendered correctly. Now, if I add an
element outside the table and write this element into the database, I
want to refresh the NatTable immediately. But if I say
nattable.refresh() I get an "Invalid thread access" and the table isn't
updated.
I can't find an example for doing this. Would be great if someone could
give me a hint. Thanks in advance.

Ralf.
Re: Refreshing NatTable with GlazedLists [message #1406341 is a reply to message #1406321] Sat, 09 August 2014 19:22 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2903
Registered: July 2012
Senior Member
Use the GlazedListsEventLayer and simply update the list.

[Updated on: Sat, 09 August 2014 19:27]

Report message to a moderator

Re: Refreshing NatTable with GlazedLists [message #1406673 is a reply to message #1406341] Sun, 10 August 2014 20:37 Go to previous message
Ralf Heydenreich is currently offline Ralf HeydenreichFriend
Messages: 235
Registered: July 2009
Senior Member
Am 09.08.2014 um 21:22 schrieb Dirk Fauth:
> Use the GlazedListsEventLayer

Ah, thanks! It works now as expected.

Ralf.
Previous Topic:Performance issue with NatTable
Next Topic:-please delete-
Goto Forum:
  


Current Time: Thu Sep 26 12:58:35 GMT 2024

Powered by FUDForum. Page generated in 0.03970 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top