Cannot get data to display in the table
Cannot get data to display in the table
chrislegolife
Posts: 2Questions: 0Answers: 0
I do not want to have a duplicate question, but I have been on these forms for hours and hours now and I think it would just be easier to ask this question. First of all I <3 datatables it is boss, thank you Allen for make this awesome plugin. Secondly, my problem. So I started out having problems which turnout to be the format of my JSON code but now I am receiving the message: "DataTables warning (table id = 'airForceDataTable_conn'): Requested unknown parameter 'orig_h' from the data source for row 0." I still think it is related to my JSON but I will let you guys be the judge of that.
Debugger (another really awesome tool :3 thanks also to note that i am having problems with the #airForceDataTable_conn not the other one) : http://debug.datatables.net/iladuc
DataTable js code: http://jsfiddle.net/JEvwz/
JSON: [code]
{
sEcho:3,
iTotalRecords:10,
iTotalDisplayRecords:2,
aaData:[
[{orig_h:"140.175.25.103"}, {orig_p:"61931"}, {resp_h:"140.175.215.36"}, {resp_p:"8080"}, {orig_bytes:"923"}, {resp_bytes:"989"}],
[{orig_h:"140.175.25.103"}, {orig_p:"61813"}, {resp_h:"140.175.215.36"}, {resp_p:"8080"}, {orig_bytes:"0"}, {resp_bytes:"0"}]
]
} [/code]
Thank you for any help you can give me.
Debugger (another really awesome tool :3 thanks also to note that i am having problems with the #airForceDataTable_conn not the other one) : http://debug.datatables.net/iladuc
DataTable js code: http://jsfiddle.net/JEvwz/
JSON: [code]
{
sEcho:3,
iTotalRecords:10,
iTotalDisplayRecords:2,
aaData:[
[{orig_h:"140.175.25.103"}, {orig_p:"61931"}, {resp_h:"140.175.215.36"}, {resp_p:"8080"}, {orig_bytes:"923"}, {resp_bytes:"989"}],
[{orig_h:"140.175.25.103"}, {orig_p:"61813"}, {resp_h:"140.175.215.36"}, {resp_p:"8080"}, {orig_bytes:"0"}, {resp_bytes:"0"}]
]
} [/code]
Thank you for any help you can give me.
This discussion has been closed.
Replies