DataGrid Export to Excel to just export the columns selected and not all.As selected though GridExtension.How to achiceve this without using Excel exporter

I am using a datagrid and the default button ‘Export to excel’ to export my data . I don’t want to export all the columns as default it does but just the columns i have selected using the grid extension. The hidden columns should not exported to excel. I just want this change on only one page so i dont’ want use ‘Excel Exporter’. please Suggest how can i achieve this?   Thanks, Kavita
1 answers

As far as i know you cant with default Mendix. I think it might be possible with the datatables widget:  it states this in the documentation about exporting:

  • Visible only - Export visible columns only


Otherwise you should use the excel exporter.