Check documentation for the latest version 6.0 of dhtmlxSuite printView DHTMLX Docs

printView

generates the print friendly view

void printView(string before,string after);

Parameters

beforestringhtml which will be placed before the printed grid
afterstringhtml which will be placed after the printed grid

Available only in PRO Edition

Example

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

Back to top