Dynamic Column Settings

I populate a table from an sql query that returns different columns depending on previous choices.
However in any case I want to be able to choose which columns should be visible.
So I used a multiselect component which fills with the columnnames of the table.
Now I don't know how to edit the "Dynamic Column Setting" in the table to show only the selected from the multiselect columns.
Any help would be much appreciated

I think it's covered here in this youtube video: https://youtu.be/tw2u5VhG-zI

Lmk if you are still having trouble w it :slight_smile:


It's clear great thanks