aspose file tools*
The moose likes GWT and the fly likes PagingScrollTable from google-web-toolkit-incubator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "PagingScrollTable from google-web-toolkit-incubator" Watch "PagingScrollTable from google-web-toolkit-incubator" New topic
Author

PagingScrollTable from google-web-toolkit-incubator

Nilesh Pat
Ranch Hand

Joined: Mar 01, 2010
Posts: 46
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.

Regards,
Nil
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10523
    
    9

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.

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Nilesh Pat
Ranch Hand

Joined: Mar 01, 2010
Posts: 46
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: PagingScrollTable from google-web-toolkit-incubator