Adding a header for Print View

Hi,

I am using dhtmlxGrid to display some information and the print view is working well. My client has asked if it were to be possible to include a specific header on the output.

Right now, I am only used this to call the print friendly function:

Print

Thanks,

You may place any needed html-content before otr after the grid in the print-friendly mode:
mygrid.printView(‘

before
’,‘after’);

Also you may attach a header to a grid before generating the print-friendly view:
<a href="#" onClick=“mygrid.attachHeader(“1,2,3,4”); mygrid.printView()”>Print

Thanks for the tips! I’ll try that.