Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by James Snyder on Jun 16, 2009 13:17
open dhtmlx forum
attachFooter + setColspan

I have a grid and the columns are all rather small. On the footer I would like the rows to span mutiple columns. I have attempted to use the setColspan function with no success.

Is it possible to have a footer with different column widths or have them span multiple columns?

Thanks,
James
Answer posted by dhxSupport on Jun 17, 2009 01:56
You can set rowspans or colspans in the footer using:
//colspans in footer
  grid.attachFooter("A,#cspan,C,#cspan");
  //rowspans in footer
  grid.attachFooter("A,#rspan,C,#rspan");