Using SELECTMODE="Edit"  
 
 

When SELECTMODE="Edit", one-dimensional arrays are used to store data about changes to the grid cells. For example, a one-dimensional array is used to store the type of edits made to grid cells:

gridname.RowStatus.Action [ action ]

Where gridname is the name of the CFGRID and action is U, I, or D for Update, Insert, and Delete, respectively.

ColdFusion also maintains both the value of the edited cell and the original value in one-dimensional arrays. You can reference this data in ColdFusion expressions as follows:

gridname.colname[ value ]

gridname.original.colname[ value ]

Where gridname is the name of the CFGRID, colname is the name of the column, and value is the index position containing the grid data.



 
 
BackUp LevelNext
 
 

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