DeleteRow |
Top Previous Next |
Deletes a row in a readonly grid - either full grid or a sub grid.
Parameters GridIndex Specifies the grid index - either the full gird or a sub grid. -1 indicates the full grid; for a sub grid, the parameter's value must be between 0 and the return value of GetTotalSubGrids() minus 1. SectionIndex Specifies the index (0-based) of the section in which the cell resides. If the AllowSections is set to FALSE, this parameter becomes irrelevant. RowIndex Specifies the index (0-based) of the row.
Return Value: If the operation is successful, it returns TRUE; otherwise it returns FALSE. For example, one or more index values are out of bound. If the row(s) are sorted by clicking one column header, this method returns FALSE.
Remarks The sync row in the associated grid is automatically deleted. |