DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### printView(before,after)

Required library edition:
Required library file: dhtmlxgrid_nxml.js

generate print friendly view

- before - {string} html which will be placed before printed grid
- after - {string} html which will be placed after printed grid

       //minimal parameters set
       mygrid.printView();
       //maximal parameters set
       mygrid.printView('<div>before</div>','<strong>after</strong>');