Dhtmlx Grid Footer Style via XML Configuation


Documentation mentions about how to configure contents of grid footers via XML. Can you also pass footer style (per cell) similar to when you are adding footers via scripting?


Initialization from XML
If you’re initializing dhtmlxGrid from XML, the labels of the 1st header are set with the column tags.

Additional headers(footers) are specified with the afterInit/call tags:

A B C A1,B1,C1 A2,B2,C2 AF,BF,CF ...

Please, try to use the following code:

<afterInit> <call command="attachHeader"> <param>A1,B1,C1</param> <param>text-align:right;,text-align:left;,text-align:center</param> </call> </afterInit>

1 Like