grid.printView functionality

hi,



i would like to ask is it possible for me to add external css into printView popup window and limited the grid content to the first 1000 records returned by server?Thank you.



Regards,

mia

There is no API code for such purpose, but you can update code of popup generation in dhtmlxgrid_nxml.js

line 391
   var html=“TD { font-family:Arial; text-align:center;} “;
    html+=””; //adding custom styles
    html+="<base  href=’"+document.location.href+"’>";


line 411
    if (row_length>1000) row_length=1000; // limit to max 1000 record
    for (var i=0; i<row_length; i++) {