Parameter rows works probably. But it sets list of rows, not columns.
If to talk about columns - if column is hidden on client side by method setColumnHidden() it will be hidden in PDF and Excel.
Could you provide screenshots or explain in details what do you mean, please?
And I see that u hide only headers. When I did it, it wasn’t ok and I had to hide hidden columns from rows. But maybe i didn’t see something what correct this…
But I see that script wait for “hidden” atribute in xml, but my version of grid exports something like this
[code]
...
...
[/code]
And there is no hidden atribute exporting for hidden columns.
my dhtmlsgrid.js version://v.2.6 build 100722
all package grid(from readme.txt): dhtmlxGrid v.2.6 Professional edition build 110318 (IE9 fix applied) EVALUATION VERSION!!!
And the same problem was with exportng PDF.
greets
Sorry for the delay in answering.
Update dhtmlxgrid_export.js from attachment, please. It looks like your dhtmlxgrid_export.js file is old-fashioned. dhtmlxgrid_export.zip (2.63 KB)
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan