Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Listeners for scrolling
Listeners for scrolling [message #1386156] Fri, 13 June 2014 18:11 Go to next message
lak kaz is currently offline lak kaz
Messages: 5
Registered: May 2013
Junior Member
I am implementing NatTable for my application. My table contains around 10,000 rows and 15 columns. It has sorting, grouping,filtering features.

Initially my table should load 50 records. And ones the user scroll to 50th record or on 50th record, my table should load next 50 records. I am not sure which listeners best suit my requirement. Can any one suggest me.

Thanks in Advance.
Re: Listeners for scrolling [message #1386161 is a reply to message #1386156] Fri, 13 June 2014 19:28 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1339
Registered: July 2012
Senior Member
NatTable does currently not support that. You can try to find a way looking at ScrollBarHandlerTemplate in the ViewportLayer, but AFAIK there is no build in support.
Re: Listeners for scrolling [message #1386167 is a reply to message #1386161] Fri, 13 June 2014 21:55 Go to previous messageGo to next message
lak kaz is currently offline lak kaz
Messages: 5
Registered: May 2013
Junior Member
Thanks Dirk. Is it possible to load data dynamically? Like initially showing 50 records and in the backend loading rest of the record? If it possible which listeners suits my requirement?
Re: Listeners for scrolling [message #1386172 is a reply to message #1386167] Sat, 14 June 2014 05:00 Go to previous message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1339
Registered: July 2012
Senior Member
We have currently no build in support for lazy loading.
Previous Topic:How fix "OutOfMemoryError" when Nattable contain huge data
Next Topic:Buttons not rendering
Goto Forum:
  


Current Time: Sat Oct 25 11:59:20 GMT 2014

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

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