openblocks-dev / openblocks

🔥 🔥 🔥 The Open Source Retool Alternative
https://cloud.openblocks.dev
GNU Affero General Public License v3.0
5.84k stars 353 forks source link

Button Export Display Data Behavior #271

Open MichalisDBA opened 1 year ago

MichalisDBA commented 1 year ago

For example, you have a query that returns 10 columns BUT you hide 3 columns from the table module.

So now the table module shows 7 columns.

When you create a button module with Export data action, file type excel and for the Data you put {{table1.displayData}} then when you download the excel file it has all the 10 columns and not the 7 that was being displayed on the table module.

I don't thing this is the right behavior for displayData array to include the hidden columns.

lmx1117 commented 1 year ago

@MichalisDBA Hi, thanks for raising this, it is a bug and will be fixed in the next version, please stay tuned.