Skip to main content



      Home
Home » Eclipse Projects » NatTable » Display loading state in table
Display loading state in table [message #1805428] Mon, 15 April 2019 05:14 Go to next message
Eclipse UserFriend
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 10:01 Go to previous messageGo to next message
Eclipse UserFriend
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 10:06 Go to previous message
Eclipse UserFriend
Thanks
Previous Topic:Multi Value Editor in NATTable
Next Topic:Filter column values using custom FILTER_DISPLAY_CONVERTER
Goto Forum:
  


Current Time: Wed May 21 09:53:14 EDT 2025

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

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

Back to the top