is it possible to export a paramQuery grid to pdf, or how can i do it? this is how i create the grid, i want to show this grid in a pdf file
createGrid = function(){
var obj = {
width:"100%",
height : "100%" ,
title : "grid" ,
flexHeight : false ,
resizable : false ,
draggable : false ,
scrollModel: {scrollTillLastRow:false, scrollTillLastColumn:true},
numberCell : true,
} ;
obj.colModel = [
{
title : "Date" ,
width : 200 ,
dataType : "string" ,
dataIndx : "Date"
} ,
{
title : "Name" ,
width : 200, dataType : "string" ,
dataIndx : "Name"
}
] ;
obj.dataModel = {
data : lstData //this is the object with the information
} ;
obj.width = "460px";
obj.height = "300px";
var $grid = $ ( "#grid_json" ).pqGrid ( obj ) ;
}