Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Display loading state in table
Display loading state in table [message #1805428] Mon, 15 April 2019 09:14 Go to next message
Benedict Wright is currently offline Benedict WrightFriend
Messages: 6
Registered: February 2019
Junior Member
Hi,
Is there a recommended way of displaying a "loading" message/icon/animation while the data for the table is loaded [from a server], as in our case this can take a couple of seconds.

Thanks for the input, and sorry if this question ash already been answered, and i was unable to find it.
Re: Display loading state in table [message #1805568 is a reply to message #1805428] Wed, 17 April 2019 14:01 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2704
Registered: July 2012
Senior Member
Loading of data is actually not really a part of NatTable. The data typically is loaded outside and then placed in a NatTable. So there is no "recommended way" of showing a loading message. If you need some ideas on how a solution could look like, you might want to look at the _900_Everything_but_the_kitchen_sink example. There the data is loaded in a Runnable that first opens a dialog and once the loading is done, the dialog is closed again. But that is just one idea on how it can be solved without troubles between background tasks and the UI thread.
Re: Display loading state in table [message #1805570 is a reply to message #1805568] Wed, 17 April 2019 14:06 Go to previous message
Benedict Wright is currently offline Benedict WrightFriend
Messages: 6
Registered: February 2019
Junior Member
Thanks
Previous Topic:Multi Value Editor in NATTable
Next Topic:Filter column values using custom FILTER_DISPLAY_CONVERTER
Goto Forum:
  


Current Time: Fri Aug 23 21:48:13 GMT 2019

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

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

Back to the top