Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

PagingScrollTable from google-web-toolkit-incubator

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.

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.
Posts: 11445
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • 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.
The moth suit and wings road is much more exciting than taxes. Or this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic