This function is to get the maximum value from a grid.
GridMax(GridControlName,Column Number,is page wise)
GridControlName is the name of the grid. The user will have to specify the column number from where the maximum value has to be retrieved. Is Page wise indicated whether the value has to be retrieved page wise or not. Is Page wise should be either true or false.
GridMax(dynamicgrid1, 2, false)
The function will return the maximum value from the second column.