"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 - Grid Listener with Custom Images

By implementing your own grid listener, it is possible to fully customize any row or cell of the grid. This includes the content of a cell as well as the look and feel. The example below has three customizations.
  1. The row number is placed in the first column.
  2. The image icon in the second column is customized depending if the row number is odd or even.
  3. The Gender column is hilited if the value in the cell is "F".
Customers
 
Row Icon Id Last Name First Name Gender Zip
 
1 2 adas asdasdad F 34561
  2 15 Chan Liam M 47387
  3 10 Danns Allan M 04105
  4 3 das dsad F 22151
  5 13 Fellows Bill M 04105
  6 19 Gatezngan Jeff M 10234
  7 4 Gbv matt M 90210
  8 8 gcg prova M 66778
  9 7 Hogan jeff M 04105
  10 5 Jackson xxx11111 F 1234
  11 9 Leno Jay M 04105
  12 14 Lu Lucy F 42844
  13 16 McCartney Paul M 78378
  14 6 Obama barack F 04101
  15 18 Obama Barrack Jr. F 32419
  16 11 ppp Paula F 04106
  17 20 Ruthi Vijay M 4354
  18 12 Test Data M 78723
  19 1 test Ryan M 112312313

The above grid contains 19 records.

  Download Raw Data     Download Formatted Data
 MyGridListenerCustomImages.java   



          Back to Samples page


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

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