SMART datagrid v.1 > Classes > GridColumn

Back  Forward

DataLudi.GridColumn.footer  property

Footer setting Object of this column. 

You can visit row group Footer model through groupFooter 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 footer(): ColumnFooter
Setter
function setFooter(value: Object)
Code -1
    // Specify the properties in column level.
    grid.columnByName('colAddr').setFooter({
        expression: 'sum',
        styles: {
            background: '#ffff00'
        }
    });    

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