DataGridSetCurSel
The DataGridSetCurSel function is a function that selects ROW from the data
grid object.
void @DataGridSetCurSel(string class_name, int pos);
Parameters
string class_name: Class name of DataGrid object
int pos: Row index
Return Value
None
Example
@DatagridSetCurSel ("DataGrid1", 0);
Description: Select the first ROW(0) in the data grid object 'DataGrid1'.
Version Information
Supported Version:
10.2.4
Related Helps
@DataGridAddButtonColumn()
@DataGridAddCheckBoxColumn()
@DataGridAddComboBoxColumn()
@DataGridAddRow()
@DataGridAddTextBoxColumn()
@DataGridClearColumn()
@DataGridComboBoxColumnItemAdd()
@DataGridDeleteRow()
@DataGridGetCellData()
@DataGridGetCellSel()
@DataGridGetColumnName()
@DataGridGetCurSel()
@DataGridGetRowCount()
@DataGridGetRowData()
@DataGridInsertRow()
@DataGridReLoad()
@DataGridSetCellBackColor()
@DataGridSetCellData()
@DataGridSetCellTextColor()
@DataGridSetColumnAlignment()
@DataGridSetColumnHeadersHeight()
@DataGridSetColumnIndex()
@DataGridSetColumnReadOnly()
@DataGridSetColumnText()
@DataGridSetColumnVisible()
@DataGridSetColumnWidth()
@DataGridSetCurSel()
@DataGridSetDataTable()
@DataGridSetDsn()
@DataGridSetRowData()
@DataGridSetRowHeight()
@DataGridSetSelect()