This function is used to set mode for grid (Insert/Update)
Syntax:
GridSetRowMode(GridControlName,RowIndex,Mode)
GridControlName is the name of Grid control.
RowIndex is the Index of the row.
Mode is the mode to be set. Either Insert/Update.
Example:
GridSetRowMode(Search1,1,Update)