SMART datagrid v.1 > Classes > GridRow

Back  Forward

DataLudi.GridRow.parentIndex  property

If Parent Row exists, it will return index of parent row, else will return -1. 

Defaults to -1.

Getter
function parentIndex(): Integer
Code -1
    var parent = grid.focusedRow().parent();
    if (parent) {
        console.log("The index of group : " + grid.focusedRow().parentIndex();
    }
Note
See Also
parent
GroupRow
Examples
Row Grouping