• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PagingScrollTable from google-web-toolkit-incubator

 
Nilesh Pat
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i found PagingScrollTable demo from google-web-toolkit-incubator jar.

http://collectionofdemos.appspot.com/demo/com.google.gwt.gen2.demo.scrolltable.PagingScrollTableDemo/PagingScrollTableDemo.html

it's good.
but i doesn't get any simple example for how to use it.
did any one used this PagingScrollTable widget??
if yes please help me with an simple example specifying how to use use it.
 
Maneesh Godbole
Saloon Keeper
Posts: 11096
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which part are you having problems understanding? Paging? Scrolling? Table?

I have not used this component, but paging is simple.
As you know, MVC separates the data from the presentation.
Imagine you got 100 records and your page size is 10 (max 10 records will be displayed at one time)
To navigate between the records, you need to provide the user with some controls (typically the previous/next button)

In pseudo code
1) Keep a counter for the page. defaults to 0
2) Have a RPC method which will accept this counter and return the appropriate records. e.g. If the counter is 1 you return records from 10-20
3) When the call returns the data, load them in your model and update your UI with this new set of data.
 
Nilesh Pat
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it's not my problem.

there is a widget called PagingScrollTable in google-web-toolkit-incubator jar.
it gives all paging, scrolling in a table itself.
as i gave a url in my last post.

so i tryed to use it.
but it's complicated and i didn't got any simple example on internet.
so i was asking if anyone used it or any one know how to implement this widget.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic