DataGridGetCellSel

 

The 'DataGridGetCellSel' function gets the index of selected cell of DataGrid object.

 

int @DataGridGetCellSel(string class_name, int x, int y);

 

Parameters

string class_name : Class name of DataGrid object.

int x : Variable or tag to save the x-coordinate index.

int y : Variable or tag to save the y-coordinate index.

 

Return Value

If the selected cell exists, it returns the 1. Otherwise, it returns the 0.

 

Example

@DataGridGetCellSel("DataGrid1", x, y);

Description : It saves the index of cell which was selected from 'DataGrid1' object, to variable 'x' and 'y'.

 

Version Information

Supported Version : 10.2.4 or higher