exporting data grid 2 to excel

0
I have a 'data grid 2' that has about 15 columns.   it is a simple table.   I have build in the functionality to add new rows, delete existing rows, or edit existing rows within Mendix.   The last functionality I need is the ability to export the table to excel (or csv).   Is there a SIMPLE way to get this functionality.   Thanks.
asked
2 answers
2

Timothy,

Yes, newer versions of the DataWidgets module contain a Javascript action that will export to Excel.

image.png

Hope that helps,

Mike

answered
0

Mike's answer probably gets you what you need, but if like me, you ran into troubles with the downloads (double records, only first page instead of everything) then you have the alternative to use module SimpleExportToExcel. No hassle, easy and straightforward. Downside: you have to determine the columns at designtime, no variations at runtime.

answered