I'm not a pro member. Sorry! I have a issue, help me, thanks!: My button export excel and toolbar are not visible, this is my code.
toolbar: {
cls: 'pq-toolbar-export',
items: [
{
type: 'button',
label: 'Export',
options: { text: true, showLabel: true },
// icon: 'ui-icon-arrowthickstop-1-s', // fa fa-file-excel-o
icon: 'ui-icon-document',
listener: function () {
// tslint:disable-next-line: ban
const format = 'xlsx';
let blob = this.exportData({
format: format,
nopqdata: true,
render: true,
});
if (typeof blob === 'string') {
blob = new Blob([blob]);
}
// const FileSaver = require('file-saver');
saveAs(blob, 'NewArticle.' + format);
},
},
],
},