fnAddData
fnAddData
tyroneschiff
Posts: 5Questions: 0Answers: 0
I would like to iterate over a json array and add data from it to my DataTable using fnAddData from the API. My json data is takes the form of:
[code]
{
-1: [
-{
number: 1
value: "100"
name: "Jones"
address: "100 S. Street"
country: "USA"
}
]
}
[/code]
I'm having a hard time understanding how I can iterate over this json array and use the fnAddData to update my table. Would someone please assist me with the implementation?
[code]
{
-1: [
-{
number: 1
value: "100"
name: "Jones"
address: "100 S. Street"
country: "USA"
}
]
}
[/code]
I'm having a hard time understanding how I can iterate over this json array and use the fnAddData to update my table. Would someone please assist me with the implementation?
This discussion has been closed.
Replies
Allan