Hello,
I need to display the contents of a .csv file in a table using perspective. Could anyone advise on some ways this can be accomplished?
Thanks,
Hello,
I need to display the contents of a .csv file in a table using perspective. Could anyone advise on some ways this can be accomplished?
Thanks,
You need to use the file upload component to upload it to the gateway (even if only held in memory), then parse the CSV, translate it to an Ignition dataset or a list of dictionaries, then return that value to the session and display it in a table.
Travis' code worked great for me when i needed to do this.
I'm a little confused on where to put the CSVParser class in ignition.
Ah, thank you. That worked great. Much appreciated.