1
Help for ParamQuery Pro / Excel/CSV Export Button Callback
« on: September 30, 2015, 02:01:20 pm »
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:
Thanks in advance.
Best, Pardgroup.
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:
Code: [Select]
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.