The GridGetRowMode function is used to retrieve the mode of a specific row in a dynamic grid control. This function requires the name of the grid control and the index of the row whose mode you want to get.
Syntax
GridGetRowMode(GridControlName, RowIndex)
Parameters
GridControlName (Control): The name of the dynamic grid control from which you want to retrieve the row mode. This is a required parameter.
RowIndex (Integer): The index of the row whose mode you want to retrieve. This is a required parameter.
Example
GridGetRowMode(DynamicGrid1,1)
In this example, the function retrieves the mode of the row at index 3 in the grid control named MyGridControl.
Explanation
GridControlName: This parameter specifies the name of the dynamic grid control from which you want to retrieve the row mode. It must be a valid and correctly referenced grid control name within your application.
RowIndex: This parameter specifies the index of the row whose mode you want to retrieve. The row index should be an integer, typically starting from 0 or 1 depending on the system’s indexing convention.