title: How does SmartGWT paging work?
body: <p>Can someone please explain to me how paging works in SmartGWT?</p>
  
  <p>I see it working in the <a href="http://www.smartclient.com/smartgwt/showcase/#grid_sortfilter_adaptive_filter" rel="nofollow noreferrer">showcase</a>, but I just can't find it documented anywhere. (The information in the javadocs far from sufficient to understand what's going on.)</p>
  
  <p>I have a ListGrid, and a custom DataSource that interacts with my server.</p>
  
  <p>Let's say I want to set a page size of 25 records in the ListGrid.</p>
  
  <p>What do I have to do:</p>
  
  <ul>
  <li>in the ListGrid?</li>
  <li>in my custom DataSource (has access to DSRequest and DSResponse objects)?</li>
  <li>in my server?</li>
  </ul>
  
  <p>What are the parameters sent by the SmartGWT client to the server, and what are the parameters the SmartGWT client expects in return?</p>