Categories | Question details Back To List | ||
Print Function Hi, I want to print the full content of data in the grid without the scrollbars and need to hide some columns while printing. How to do that. Please mail me. Answer posted on Sep 20, 2007 14:22 There are two ways a) you can include dhtmlxGrid_nxml.js in your project which will introduce few addtional methods grid.printView(); will generate a special view with stripped extra HTML tags, without scrollers. b) you can switch grid in necessary state hide columns by grid.setColumnHidden(... remove scrolls by grid.enableAutoHeight(true); grid.enableAutoWidth(true); grid.setSizes(); |