SMART datagrid v.1 > Classes > GridRow

Back  Forward

DataLudi.GridRow.dataSource  property

If it is connected to data row of DataSet, it will return the corresponding data set. 

Defaults to null.

Getter
function dataSource(): DataSet
Code -1
    var dataSet = grid.focusedRow().dataSource();
    dataSet.clearRowStates([], true);
Note

Whenever calling this property, it will find and return the reference of top row. It it should be used several times within the range of function, you must store and reuse by local variable, etc. On the contrary, you should not maintain the reference more than a function call range. 

See Also
dataIndex
dataState
DataSet
DataRow
TreeRow
Examples
Hello Grid
Grid Data Set Edit