Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on May 18, 2009 05:58
open dhtmlx forum
dhtmlxgrid

Is there any way to apply formatting to footer text, similar to column types.

I have a column with my custom cell type, and a I want to format the footer text with similar cell type.

Thanks in advance.

Answer posted by Alex (support) on May 18, 2009 07:27

Hello, 

the style of teh footer cell can be set in the 2nd parameter of the attachFooter method:

 grid.attachFooter("cell 1,cell 2,..,cell N",["text-align:left;","text-align:right;",...,"text-align:left;"]);