BoldDesk®Customer service software offering ticketing, live chat, and omnichannel support, starting at $49/mo. for 10 agents. Try it for free.
I have the following code. The "Download PDF" button works but it returns only one "ID" column(which is a width=0 column). How can I make it honor the grid rowtemplate?i am also not able to provide a running row number for a column with the Grid rowtemplate using the queryCellinfo event.Please help.rowTemplate="#rowtemplate" allowPaging="true" allowPdfExport="true" toolbarClick="toolbarClick"toolbar="@( new List<object>() {"PdfExport"})" queryCellInfo="queryCellInfo">function toolbarClick(args){var gridObj = document.getElementById("SocialMediaAccountDetails").ej2_instances[0];if (args.item.id === 'SocialMediaAccountDetails_pdfexport'){var exportProperties = {fileName: "tweets.pdf"};gridObj.pdfExport(exportProperties);}}var count = 1;function queryCellInfo(args) {if (args.column.headerText == "Row Number") {args.cell.innerHTML = count;count++;}}