When I set column to hidden:
mygrid.setColumnHidden(6)
and then call:
mygrid.printView()
In print output I can see hidden columns
We cannot reproduce this issue locally. What version of dhtmlxGrid do you use? Please send us any kind of sample where we can reproduce this issue. You can send it directly to the support@dhtmlx.com
I notice that:
hiding column by:
setColumnHidden(6) will hide column in grid view but not in print view
setColumnHidden(6,true) works in both cases
Actually the second parameter of setColumnHidden is mandatory, usage of
setColumnHidden(6)
is equal to the
setColumnHidden(6,false)
which reveal column, not hide it.