"Quickening the Pace of JSP Development" Tuesday, September 07, 2010
Home Products Pricing Company Contact Us Samples Download Forums Javadoc Customers
    « Form Tags »
    « I/O Tags »
    « Format Tags »
    « Utility Tags »
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!
Customers
 
  Icon Id Last Name First Name Gender ZipCode Email
 
1 My Icon 2 adas asdasdad F 34561 jpardi@comcast.com
  2 My Icon 15 Chan Liam M 47387
  3 My Icon 10 Danns Allan M 04105 bclinton@worldaids.com
  4 My Icon 3 das dsad F 22151 djohns@gmail.com
  5 My Icon 13 Fellows Bill M 04105
  6 My Icon 19 Gatezngan Jeff M 10234 -
  7 My Icon 4 Gbv matt M 90210 tgardner@yahoo.com
  8 My Icon 8 gcg prova M 66778
  9 My Icon 7 Hogan jeff M 04105 ghogan@hotmail.com
  10 My Icon 5 Jackson xxx11111 F 1234 sroy@hotmail.com
Edit Delete Refresh
  Previous    Next  

Grid took 536 ms to render.

The above grid contains 19 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.