I have an array of 20 structs. I'd like to show each struct as a row in a table. I populated the table dataset using a custom method called loadeventlog() and a timer that invokes the method every 5s.
Is there a way to bind tag paths for each struct 1-20 to each row and have them update in the table as any other OPCUA tag updates, without this timer that rewrites the data to the table? Thanks.
I would just make a "row" template and use a template repeater. All bindings, no datasets, easy to expand and add write capability to any of the data points.
Then you could just have a script when the page opens to run through the UDT instance timestamps and put the path/index in the correct order for the template repeater. Exact implementation would depend on how the instances are named
Where does the data come from ? If it's a db, sort in the query.
If it's a script, sort the data there.
If you can't sort at the source, there's a sortDataset expression function