Hi Team,
I know by default table has got download option.. it is working fine.. but wanted to customize that like download option should be visible only when there is data in table and wanted to show all hidden columns in excel and wanted new name for the excel.
we r using 2.100.8 version of Retool.
Thanks & Regards,
Madhavi.
Hello,
For the show hidden columns and new name of the file, most likely feature request for Retool team. As for hiding the download you can use JS condition to show/hide.

Since table can use two type of data format:
Array of objects

Object of Arrays

I don't know which format your tables have, below is just snippet of logic's covering both.
{{ (Array.isArray(query1.data) && query1.data.length > 0) || (typeof query1.data === 'object' && ((query1.data.ticket_id ?? []).length ?? 0) > 0) }}

Hope that helps with the dynamic download button.
Yes lamp_bytecode.io.. Thanq so much.. not sure from whom should i get confirmation about other two features.
1 Like
Hi Madhavi_G,
You can use the Feature Requests board to post the new feature requests. I'm not from Retool's team so I can't speak on the process.
Thanq so much @lamh_bytecode.io and @victoria .. posted in feature request section.
1 Like