How do you add multiple json values in a single cell of dataTable
How do you add multiple json values in a single cell of dataTable
jna
Posts: 19Questions: 5Answers: 0
Hi
I would like to combine 2 fields in one datatable cell
If we have your example json:
"data": [
[
"Tiger Nixon",
"System Architect",
"Edinburgh",
"5421",
"2011/04/25",
"$320,800"
],
[
"Garrett Winters",
"Accountant",
"Tokyo",
"8422",
"2011/07/25",
"$170,750"
],
[
"Ashton Cox",
"Junior Technical Author",
"San Francisco",
"1562",
"2009/01/12",
"$86,000"
]
]
Then I want "Tiger Nixon", and "System Architect", in the same cell AND "Edinburgh", and "5421", in one cell
How is that done? The rule should apply all rows in the table...
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @jna ,
You could do something like this. It uses
columns.data
to change the data source.Cheers,
Colin
That is simply great! You saved my day.
Tnx alot