SMART datagrid v.1 > Classes > RowGroup

Back  Forward

DataLudi.RowGroup.levels  property

RowGroupLevel object array which has property and Style information applied to each row group level. 

Getter
function levels(): [RowGroupLevel]
Code -1
    grid.setOptions({
        rowGroup: {
            levels: [{
                headerStyles: {
                    borderTop: null,
                    borderBottom: '#55',
                    background: "#777",
                    color: "#fff"
                }, 
                footerStyles: {
                    background: "#500088ff"  
                },
                expanderStyles: {
                    borderTop: null,
                    borderBottom: '#55',
                    background: "#777",
                    shapeColor: "#fff"
                }
            },
            ...
            ]
        },
        ...
    });
See Also
RowGroupLevel
GridStyles
Examples
Row Group Levels
Row Grouping