I have a table where the columns can potentially change. Some columns I want to have a default value however.
I can specify a default value using
mygrid.addRow(date,[value1,value2,]…
The problem is when the columns get re-ordered, the values no longer align properly.
Is there a way to set the default value to a column manually?
Alternatively, is there a way to loop through the table headers and read their names.
If so I could construct the default value string myself based on the names of the headers.
Thanks,
Drew