Using array of array objects as datasource

Using array of array objects as datasource

simondatassimondatas 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

Answers

  • allanallan Posts: 63,464Questions: 1Answers: 10,466 Site admin

    Hi Simon,

    It looks like your aoColumns array is inside the ajax object. It needs to be at the top level.

    See this example which I think is basically what you want.

    Allan

This discussion has been closed.