DHTMLX Docs & Samples Explorer

printView(before,after)

Required library edition: This method requires Professional Edition of the DHTMLX library
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>');