Fill a datatable with JSON keys
Fill a datatable with JSON keys
fcarli98
Posts: 2Questions: 1Answers: 0
Hi everyone, I've got a question: is it possible to fill a datatable where a column shows JSON keys of a JSON file ?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
That's the JSON file I got:
I'd like to take alphanumeric codes and "num_uses" to fill my datatable.
Hi @fcarli98,
Yes that is possible, you need to set
columns.data
to be a function and return what you want in the column from that function. Take a look at this example, hopefully you can use that as a starting point.Thanks,
Sandy