CSV file data to px table view

Have my CSV log export function working and now I am looking to read the last 10 rows of file back into a table for viewing on a pX page. The CSV file is an event log with each row having 6 fields.

I see how to open the file and read the data into a string array with a program object but have no idea on how to populate a some type of Component Grid that lives on a px page. Don’t see many examples of that code, but do see lots of companies that build custom px widgets.

Ken

Hi Ken, if you’re able to share some code it will be easier to assist.

Started putting some CSV file import code I found here together before realizing I have no idea how to work with the UX side of Tridium. The lack of any coding examples showing pX widgets makes me think the code needs to written/complied outside of Tridium.

Actually reached out to WSE about adding support for CSV files to the N4 DataTable widget. Been using their Alarm Table widget for sometime now and it works great.