Goal: I have a file upload button that will accept a variety of CSV files (different columns and formats). I want to show the data in a table component immediately after upload but I can't figure out how to regenerate the column headers in the table component.
So far I have been able to get a query to list the column headers from the new file automatically, but I can't get that to translate to the table.
I know this is probably very basic but any help you can provide would be appreciated.
I think the you should be able to use the dynamic column settings within the table component to generate these columns from the parsed File Upload data. In this example I used a JS Query to return the parsed information and tested with files containing different headers: