SMART datagrid v.1 > Classes > RowGroup

[ grids ver.1.3.6]   Back  Forward

DataLudi.RowGroup.createFooterCallback  property

Callback function which returns whether to create footer row of specific group row. 

If explicitly return Boolean false, the footer of corresponding group will not be created. 

Defaults to null.

Getter
function createFooterCallback(): Function
Setter
function setCreateFooterCallback(value: Function)
Code -1
    grid.setRowGroup({
        createFooterCallback: function (group) {
            // Create the footer only in the group of first level.
            return group.level() == 1;
        }
    });
See Also
displayMode
GroupRow
GroupFooter
Examples
Row Grouping