Hi Hrvoje,
We have created a sample with custom button to export grid data. Please refer to the below link.
The Null exception issue may occur in any of the below scenarios.
1. If the DataSource of the Grid is DataTable
2. If the columns defined in grid is not present in the DataSource.
Also, we have provided “DataTable Support for exporting” from v14.1.0.41. So if you are using older version, please upgrade to the new version.
If the issue has still not resolved, please provide the following details,
1. Is there any script error or exception thrown in your project? If so, attach a screenshot of your stack trace.
2. Share the video to show the issue.
3. Essential studio version details.
4. Browser details.
5. Issue replication procedure.
6. Did you export DataTable?
Regards,
Jayaprakash K.