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
myGrid.attachFooter("A,B,C,D");
//alternative syntax
myGrid.attachFooter(["A","B","C","D"])
//colspans in the footer
myGrid.attachFooter("A,#cspan,C,#cspan");
//rowspans in the footer
myGrid.attachFooter("A,#rspan,C,#rspan");
//styles assigned
myGrid.attachFooter("A,B,C,D",["","color:red;","",""]);

Back to top