SMART datagrid v.1 > Classes > GridView

[ grids ver.1.3.6]   Back  Forward

DataLudi.GridView.setHidden  method

Specify the hidden state of data rows specified by row

function setHidden (row: GridRow|Integer, hidden: Boolean): Boolean;
Returns
Boolean
Parameters
row - GridRow|Integer. required.
The object of grid row or the index of data row.
hidden - Boolean. required.
If it is true, it will hide the row.
Note
Code -1
    $('#hideRow').click(function () {
        var row = grid.focusedRow();
        row && grid.setHidden(row, true);
    });
See Also
isHidden
setHiddenRows
unhideAllRows
getHiddenRows
hiddenRowCount
Examples
Hidden Rows