Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Alain on Jan 22, 2008 05:13
open dhtmlx forum
grid.printView(); command

Hi,

I don't know how to insert the grid.printView(); command in my Web page.

I tried with a button like this:
<input type="button" name="button1" value="Print" onclick="grid.printView();">
but he don't wotk.

Do you have a sample code to help me?

Thanks,
Alain
Answer posted by Support on Jan 22, 2008 06:03
Mentioned code must work, but please be sure that your project includes
    dhtmlxgrid/ext/dhtmlxgrid_nxml.js
file, because it necessary for printView() funcitonality.

Also, in theory,  problem can be caused by some strict settings of popup blocker.