We use exportClientData to export the grid to XLS. The problem is that for large datasets (1000 records) IE7 and IE8 get the "Stop running this script" error. We need to include formatting so we use exportClientData().
We had a similar issue with the PDF; as a result we implemented our own method that gets the HTML of the grid for the PDF export with the following code and submits it to the server using a custom operation:
The above code fixed the script error on IE since it will asynchronously get the HTML for the grid if it is large.
Is there a similar way to override the exportClientData method to generate the HTML asynchronously and then convert to XLS?
We had a similar issue with the PDF; as a result we implemented our own method that gets the HTML of the grid for the PDF export with the following code and submits it to the server using a custom operation:
Code:
var gridHTML = _gridObject.getPrintHTML();
if(gridHTML == null)
_gridObject.getPrintHTML(null, gridCallback);
else
gridCallback(gridHTML);Is there a similar way to override the exportClientData method to generate the HTML asynchronously and then convert to XLS?