SMART datagrid v.1 > Classes > ColumnGroup

Back  Forward

DataLudi.ColumnGroup.footerDelegate  property

The column displayed as a representative instead of footers of all child column in cell area of this column group of Grid Footer

You can directly specify Column Name or Column Object. If not the child column of this column group, it will be ignored. 

Defaults to null.

Getter
function footerDelegate(): String|Column
Setter
function setFooterDelegate(value: String|Column)
Code -1
    var columns = [{
        name: 'groupDate',
        footerDelegate: 'shipDate',
        columns: [{
            name: 'orderDate'
        }, {
            name: 'shipDate'
        }]
    },
    ...
    ];
    grid.setColumns(columns);
Code -2
    var group = grid.columnByName('groupDate');
    // Specify as column name
    group.setFooterDelegate('shipDate')
    // or, directly specify column object
    group.setFooterDelegate(group.columnByName('shipDate');
See Also
headerDelegate
groupFooterDelegate
summaryDelegate
Examples
Delegate Columns
Column Grouping