DataGridGetCurSel

 

The 'DataGridGetCurSel' function gets row number about selected row at DataGrid object.

 

int @DataGridGetCurSel(string class_name);

 

Parameters

string class_name : Class name of DataGrid object.

 

Return Value

If all rows were selected, it returns a row number. But if all rows weren't selected, it returns -1.

 

Example

row_pos = @DataGridGetCurSel("DataGrid1");

Description : It stores row number about selected row at DataGrid object 'DataGrid1', to variable 'row_pos'.

 

Version Information

Supported Version : 10.2.4 or higher