Check documentation for the latest version of dhtmlxSuite attachFooter DHTMLX Docs

attachFooter

attaches an additional line to the footer

void attachFooter(array values, [array style] );
valuesarrayarray of header titles
stylearrayarray of styles, optional

Available only in PRO Edition

Example

//plain usage
myTreeGrid.attachFooter("A,B,C,D");
//alternative syntax
myTreeGrid.attachFooter(["A","B","C","D"])
//colspans in the footer
myTreeGrid.attachFooter("A,#cspan,C,#cspan");
//rowspans in the footer
myTreeGrid.attachFooter("A,#rspan,C,#rspan");
//styles assigned
myTreeGrid.attachFooter("A,B,C,D",["","color:red;","",""]);

Back to top