If you want to export grid data locally without round trip to remote server:
- Omit the url parameter in
exportData()
method.
- Include FileSaver.js file in the document and use its
saveAs()
method as shown in this example.
Note that FileSaver supports only the modern browsers listed here:
https://github.com/eligrey/FileSaver.js.