Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Agile on Aug 13, 2009 23:26
open dhtmlx forum
footer and ColumnMove issue: Need

Hi All,

I have a grid with n number of columns.I have enabled column move flag.

Also I have attached a footer to grid using attach footer as below,

mygrid.attachFooter("First,Second,,Fourth....,Last",["font-weight:bold;",,,,,,,,,'font-weight:bold;']);
mygrid.attachFooter("First,#cspan,....,#cspan,Last",["font-weight:bold;",,,,,,,,,'font-weight:bold;']);

But when I move the column the first footer column moves correctly with grid columns.But I don't want to second footer's columns to move.I want the second footer fixed.How can I achieve this?

Thanks,
Pankaj
Answer posted by Support on Aug 14, 2009 02:43
Cells in all header and footers will be moved with the column, there is no way to change behavior, except as through code modification. 

You can attach a code to the onBeforeCMove and onAfterCMove events and remove|attach footer line before|after column moving.