SMART datagrid v.1 > Classes > GridRow

Back  Forward

DataLudi.GridRow.visible  property

If it is the top row of which level is 1 or Parent is in Expanded state, it will return true

index of row of which corresponding value is false is -1

Defaults to false.

Getter
function visible(): Boolean
Code -1
    $('#makeVisible').click(function () {
        if (!row.visible()) {
            row.makeVisible();
            grid.setFocusedRow(row);
        }
    });
See Also
level
parent
index
GroupRow.expanded
Examples
Row Grouping