Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

exportClientData() Extremely slow and often unresponsive

$
0
0
Because I want my listgrid exported in exactly the format it is seen, and it took a lot of fiddling to get it to dynamically appear in this manner, I am attempting to offer my clients an export function via the following code.

Code:

exportExcel.addClickHandler(new ClickHandler() {
    @Override
    public void onClick(ClickEvent event) {
        if (detailGrid.getRecords().length > 0) {
              detailGrid.exportClientData();
        }
    }
});

The code seems to work fine when the listgrid has 150 records or less, but anything over that, and it sends the webapp into an unresponsive state, and sometimes never returns. Is there a practical limit to the number of rows I should expect to be able to export? Any ideas?

Viewing all articles
Browse latest Browse all 4756

Trending Articles