Not Understanding how to Use JSON data source to add Rows
Not Understanding how to Use JSON data source to add Rows
I've got an initialized DataTable with headers defined in the header of a table and I'm trying to add rows from a JSON data source, so I can refresh the data without losing what columns the user has selected. But I can't seem to make it work.
The Rows.add() example shows Jason with a field and a value, but I can't seem to link those up to my existing headers.
I assume I'm missing some setting that links the JSON variables with headers but I can't find it, and would greatly appreciate a pointer.
Answers
Hi @sunrunner20 ,
We're happy to take a look. As per the forum rules, if you could link to a running test case showing the issue we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin