Using array of array objects as datasource
Using array of array objects as datasource
simondatas
Posts: 4Questions: 3Answers: 0
Hello,
as on the javascript console, I have this king of array and I would like to feed my datatable with it but I can not find a way.
I'm using ajax as I need to refresh very very often.
Thanks a lot for your help
SImon
This discussion has been closed.
Answers
Hi Simon,
It looks like your
aoColumns
array is inside theajax
object. It needs to be at the top level.See this example which I think is basically what you want.
Allan