why doesn't "createdRow" work on JSON data, but works on Arrays???
why doesn't "createdRow" work on JSON data, but works on Arrays???

Hi everyone!
Here is my link. when you set dataSet variable on array and suitable columns, it works properly. but if it changes to JSON and related columns it doesn't work!!
live.datatables.net/fifixofa/1/edit?html,css,js,output
Is there any suggestions?
This discussion has been closed.
Replies
Your commented out data is object based not array based. You need to access the data as objects. Instead of
data[3]
usedata.age
. Your updated example:http://live.datatables.net/fifixofa/3/edit
Kevin
Thank you very much!