Grid printView() hiding columns

How do I make columns hidden in printView() page?

This is what I did but it did not work?



mygrid.setColumnHidden(1,true);

mygrid.printView();

Such functionality supported in dhtmlxgrid 1.6 ( hiding column before calling printView )
If you are using dhtmlxgrid 1.5 - please contact us directly at support@dhtmlx.com and provide your ref. number - we will send fixed file for that version.

The only limitation in dhtmlxgrid 1.6 - in case of split usage , columns left to split can’t be hidden.