SMART datagrid v.1 > Classes > GridRow

[ grids ver.1.3.8]   Back  Forward

DataLudi.GridRow.getUncles  method

Return the list of sibling rows of Parent row of this row as array. 

You can get the list of sibling rows by getSiblings

function getUncles (dataOnly: Boolean): [GridRow];
Returns
[GridRow]
Parameters
dataOnly - Boolean. Defaults to false.
If it is true, it will not contain rows which are not data row.
Code -1
    $('#checkUncles').click(function () {
        var row = grid.focusedRow();
        if (row) {
            var rows = row.getUncles(true);
            grid.checkAll(false);
            grid.checkRows(rows, true);
        }
    });
See Also
getSiblings
getAncestors
parent
Examples
Row Model