Using the HREF attribute  
 
 

When specifying a URL with grid items using the HREF attribute, the value of the SELECTMODE attribute determines whether the appended key value is limited to a single grid item or whether it extends to a grid column or row. When a user clicks on a linked grid item, a CFGRIDKEY variable is appended to the URL in the following form:

http://myserver.com?CFGRIDKEY=selection

If the APPENDKEY attribute is set to No, then no grid values are appended to the URL.

The value of selection is determined by the value of the SELECTMODE attribute:

  • When SELECTMODE="Single", selection is the value of the column clicked.
  • When SELECTMODE="Row", selection is a comma-separated list of column values in the clicked row, beginning with the value of the first cell in the selected row.

When SELECTMODE="Column", selection is a comma-separated list of row values in the clicked column, beginning with the value of the first cell in the selected column.

 
 
  Note  
 

CFGRID incorporates a Java applet, so browsers must be Java-enabled for CFGRID to work properly.





 
 
BackUp LevelNext
 
 

allaire     AllaireDoc@allaire.com
    Copyright © 1998, Allaire Corporation. All rights reserved.