When the grid data is huge, on click of Export there is a significant delay before the file gets downloaded. I wish to show the loading message on click of Export. But $( ".selector" ).pqGrid( "showLoading" ); does not work.
Tried showing a separate loader gif on screen over pqgrid, but that also does not show up until the file gets downloaded. Also tried adding a separate click event handler, but pqgrid's internal handler takes precedence.
Tried using a setTimeout after showing my loader in the export listener. This did half the work - showed my loader image, but there were errors in pqgrid.js