Grid Control - Sublist Example with Sorting

High performance web applications need maximum performance and the highest scalability. When displaying grids of information, this means processing only the rows that display in the grid. This is often referred to as sublist processing, and now dotJ supports this capability. In the example below, only the rows that display in the grid are retrieved by the back-end Struts action. In order to do this, the Struts action needs a little help from dotJ. Also, once retrieved, key grid and paging information needs to be fed to the grid. This is done via a new set of API's on the new IGridListener2 interface.
Note: Click on a column header to sort the grid!
Messages
 
  Icon Message forumName Thread userName subject email Support?
 
1 My Icon M24 Email Tags 8 support Welcome! support@dotjonline.com
  2 My Icon M85 Email Tags 35 support Re: Multiple Email Addresses support@dotjonline.com
  3 My Icon M88 Email Tags 35 support Re: Multiple Email Addresses support@dotjonline.com
  4 My Icon M84 Email Tags 35 manikandan Multiple Email Addresses manikandan_d@yahoo.com
  5 My Icon M134 Email Tags 51 support Re: HTML tags appearing in plain text content support@dotjonline.com
  6 My Icon M133 Email Tags 51 Mat Perkins HTML tags appearing in plain text content mperkins
  7 My Icon M163 Email Tags 57 support Re: in plain text email? support@dotjonline.com
  8 My Icon M147 Email Tags 57 David Castro in plain text email? thetechwriter@yahoo.com
  9 My Icon M25 Form Tags 9 support Welcome! support@dotjonline.com
  10 My Icon M40 Form Tags 19 support Re: java.io.IOException: Illegal to flush within a custom tag support@dotjonline.com
Edit Delete Refresh
  Previous    Next  

Grid took 1150 ms to render.

The above grid contains 1348 records.

  Download Formatted Data
 ProcessSublistAction.java     MyGridSublistListener.java   



          Back to Samples page


home : products : pricing : company : contact us : samples : download : forums : customers

Copyright © 2000-2004 dotJ Software Inc. All rights reserved.