Trying to make a popup with a power table that will dynamically adjust to the contents of of a dataset stored in a tag. Is there a scripting method that returns the column header data only?
I’m doing some scripting to manipulate the data in each tag through the power table, I usually can get away with a hard-coded setup:
header = ["Column1", "Column2", "Column3"...] data =  DataSet = system.dataset.toDataSet(header,data)
I want ( [“Column1”, “Column2”, “Column3”…]) information to come from the tag.
header = [TagFolder/Tag[Column1] ,TagFolder/Tag[Column2], TagFolder/Tag[Column3]...] data =  DataSet = system.dataset.toDataSet(header,data)
How can I do that?