Triggering regenerate columns for table component with JS

Hey @Tess,

I appreciate your input.
It seems that the topic pertains to dynamically regenerating the column headers rather than the queried table data.

In the past, this was managed through dynamic column settings for the legacy table, which was quite nice.

image
image

It appears that table1.trigger() only refreshes the data. For scenarios where the incoming columns are not constant, it would be really cool if we could programmatically activate the button highlighted below.

image