SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.groupPanel  property

RowGroupPanel object on the top of the gird which displays the menu related to row grouping and the field list of being grouped. 

This object will be created when the grid is initialized. When setting the property, the value of existing object will be changed. 

Getter
function groupPanel(): RowGroupPanel
Setter
function setGroupPanel(value: RowGroupPanel)
Code -1
    grid.setGroupPanel({
        visible: true
    });
Code -2
    grid.setOptions({
        groupPanel: {
            visible: false
        }
    }
Code -3
    var panel = grid.groupPanel();
    panel.toggle('visible');
See Also
checkBar
footer
header
toggle
Examples
Row Grouping