I have been trying to use the Export to Excel function with success. I have my includes and I test the button with an alert when pressed, but nothing happens. No error no nothing… Is there any requirements other than what I have included.
var exportExcelButton = $(“
“);
exportExcelButton.find(‘span’).addClass(‘ui-icon ui-icon-disk’);
exportExcelButton.width(16);
exportExcelButton.jqxTooltip({ content: ‘Export Excel!’, position: ‘mouse’, name: ‘Tooltip’, theme: theme });
exportExcelButton.appendTo(tableLeft);
exportExcelButton.click(function (event) {
alert(“****** Export *********”);
$(jqxgrid).jqxGrid(‘exportdata’, ‘xls’, ‘jqxGrid’);
});