SMART datagrid v.1 > Classes > TreeOptions

Back  Forward

DataLudi.TreeOptions.footerDisplayCallback  property

Callback function which returns whether to display the footer of tree row. 

    function (row:TreeRow): Boolean;

The footer will be displayed only in the row which has returned true in this callback function. You can also specify levels by footerLevels property, and if specify this property, footerLevels will be ignored. 

Defaults to null.

Getter
function footerDisplayCallback(): Function
Setter
function setFooterDisplayCallback(value: Function)
Code -1
    tree.setTreeOptions({
        footerDisplayCallback: function (row) {
            return row.level() == 1;
        }
    });
See Also
footerLevels
footerStyles
Tree Overview
Examples
Tree Row Footer
Hello Tree