Greetings,
I'd like to know if the Excel/CSV button has any sort of callback after the download has started or it has been complete.
I need it because sometimes the time for download the excel (or CSV) are long due to long data processing and I'd like to prompt a waiting dialog.
So basically:
items: [{
type: 'button',
label: 'Export to CSV',
icon: 'ui-icon-document',
listeners: [{
click: function (evt) {
$("#grid_json").pqGrid("exportCsv", {
url: "script/mypage.php?id="+id,
sheetName: "My Sheet Name",
[b]complete: function(data) {} or success: function(data){} something like that[/b]
});
}
}]
}]
Thanks in advance.
Best, Pardgroup.