Does anyone have a tutorial or code samples on how to implement report generating with jqgrid and coldfusion.
I added a button to my grid but not sure how to process data any further. Excel report must be in new window popup.
Basically, my question is, can I capture the data from the grid itself or, do I take arguments from the grid and generate report on new coldfusion page using the same query as I use to generate the grid?
Thank you in advance.
Gena
).navButtonAdd('#pager',{caption:"To Excel", onClickButton:
function(){
document.location.href='' // call processing file
},
position:"last", title:'Export to Excel' }
);
You’ll need to have your button call a new page that generates the Excel file. In the new page, re-run your query and then output to an HTML table with a content type of
application/vnd.ms-excelor use<CFSPREADSHEET>to generate the Excel file from the new page.