mercredi 4 mars 2015

Is it possible to export two jqxgrids to pdf at a time using jquery


Vote count:

0




I need to export 2 jqgrids at a time. i'm using this code to export single grid. i'm not able to get the solution to export 2 grids at a time.


Any help will be highly appreciated..:)


$("#btnExport").click(function() {



var sel = $("#combofiletype").jqxComboBox('getSelectedIndex');
if (sel == 0) {
$("#jqxgrid").jqxGrid('exportdata', 'pdf', 'Filename', true, null, true);
} else if (sel == 1) {
$("#jqxgrid").jqxGrid('exportdata', 'xls', 'Filename', true, null, true);
} else if (sel == 2) {
$("#jqxgrid").jqxGrid('exportdata', 'csv', 'Filename', true, null, true);
} else if (sel == 3) {
$("#jqxgrid").jqxGrid('exportdata', 'html', 'Filename', true, null, true);
} else if (sel == 4) {
$("#jqxgrid").jqxGrid('exportdata', 'xml', 'Filename', true, null, true);
}


});



asked 32 secs ago







Is it possible to export two jqxgrids to pdf at a time using jquery

Aucun commentaire:

Enregistrer un commentaire