SMART datagrid v.1 > Classes > GridColumn

Back  Forward

DataLudi.GridColumn.groupFooter  property

Row group footer setting object of this column. 

You can visit column Footer model through footer property. This object is automatically created when creating the column, and the values being set by this property change the property of the corresponding object. 

Getter
function groupFooter(): ColumnFooter
Setter
function setGroupFooter(value: Object)
Code -1
    // Specify the properties in column level.
    grid.columnByName('colAddr').setGroupFooter({
        expression: 'sum',
        styles: {
            background: '#ffff00'
        }
    });    

    // Can also specify in footer level.
    grid.columnByName('colAddr').groupFooter().setExpression('sum');
    grid.columnByName('colAddr').groupFooter().setStyles({
        background: '#ffff00'
    });
See Also
footer
ColumnFooter
Examples
Row Grouping
Column Footer