Table Column pick

I’ve been trying to figure out a way to add and remove columns for a table I want to display (hopefully with a repeater). Hopefully with a repeater. I have a large data table and users would like the ability to pick the columns that appear in the table.

To demonstrate the functionality I’m after, I’ve include an all columns and two columns. At the top right a drop down menu appears which allows you to select the columns you want to appear.

I’m hoping someone can provide a suggestion as to where to start.

Thanks
Rosscolumn picker.rp (89.1 KB)

You would need to make each column a repeater row, so you could remove the whole column. This might make things difficult if you want to sort or otherwise manipulate a ‘row’ composed of multiple columns.

The other way to do it would be to make row cells individual widgets and show/hide them, adding interactions to move other cells. However, I’ve found ‘move’ interactions aren’t pixel-precise, so this may not give you the results you’re looking for.