Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Mario Granados on Jul 16, 2009 15:50
open dhtmlx forum
EnableCSVHeader Grid

Hello!

I'm experimenting with the grid, export to CSV function, and I have a Grid with 3 headers, the fist one has the main titles, the second has the individual column title and third has text filters
something like this:
http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/header_footer/grid_complexheader.html?un=1247784046000

And when I use the property mygrid.enableCSVHeader, only exports the first header,

and finally the question is:
Is a way to export the main and attached header?

Greetings!
Answer posted by dhxSupport on Jul 17, 2009 07:35
After using enableCSVHeader(true) grid will recognize first row in CSV as header. All other rows will be recognized as grid's rows.