Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by joe on Dec 30, 2009 05:02
open dhtmlx forum
Dhtml grid

Hi,

I have a grid in which I am hiding the columns using setcolumnhidden, I have a export to excel function which exports the grid to excel but when I export the excel it is exporting the hidden column. Is there a function that returns if the column is hidden or not

Thanks
Joe
Answer posted by dhxSupport on Dec 30, 2009 05:24
You can use isColumnHidden() method. http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:api_method_dhtmlxgridobject_iscolumnhidden
Also you can use setSerializableColumns() method to define which columns should be serialized http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:api_method_dhtmlxgridobject_setserializablecolumns