1
からエクスポートする私のページでjQgridを使用しています。グリッドに表示されているデータをpdfにエクスポートしてExcelにエクスポートする必要があります。ボタンを作成してコードを追加しましたjQgridのデータをjqueryコード
jQuery("#btnExportPdf").on("click", function(){
jQuery("#jqGrid").jqGrid("exportToPdf",{
title: 'Export to PDF',
orientation: 'portrait',
pageSize: 'A4',
description: 'Meeting Details',
customSettings: null,
download: 'download',
includeLabels : true,
includeGroupHeader : true,
includeFooter: true,
fileName : "Meetings.pdf"
})
})
他に何が必要ですか?
を使用してみてください? –
clickイベントの内側@AA – Manoj
私の最後にマーキングのためのリンクが表示されていないため、これは@DipenShah – Manoj