Server Side Processing JSON (need Help) ****
Server Side Processing JSON (need Help) ****
hi allan & all,
I need help. This is my first time using the datables & json. My Json looks like this
{"sEcho":1,"iTotalRecords":8,"iTotalDisplayRecords":8,"aaData":[{"MATERIALNAME":"Advertising","ITEM":"ArcGIS Business Analyst Helps Norwegian Retail Group Refine Marketing Strategies- part# G23170- pdf","INDUSTRYNAME":"Retail"},{"MATERIALNAME":"Advertising","ITEM":"Create Your Common Operating Picture w\/ ArcGIS Flyer- pdf","INDUSTRYNAME":"Public Safety"},{"MATERIALNAME":"Advertising","ITEM":"Creating the Common Operating Picture flyer- pdf","INDUSTRYNAME":"Public Safety"}]}
And couldn't populate the data table. When check the code with jsonlint, the code is valid. But I couldn't populate. I got lot of White pass in the json. I am using Coldfusion.
Here is my jquery code
$('.filterSearch').dataTable( {
"sPaginationType": "full_numbers",
"bPaginate": true,
"iDisplayStart": 10,
"bInfo": true,
"sAjaxSource": "../cfcs/indResource.cfc?method=getData"
} );
please help me.
I need help. This is my first time using the datables & json. My Json looks like this
{"sEcho":1,"iTotalRecords":8,"iTotalDisplayRecords":8,"aaData":[{"MATERIALNAME":"Advertising","ITEM":"ArcGIS Business Analyst Helps Norwegian Retail Group Refine Marketing Strategies- part# G23170- pdf","INDUSTRYNAME":"Retail"},{"MATERIALNAME":"Advertising","ITEM":"Create Your Common Operating Picture w\/ ArcGIS Flyer- pdf","INDUSTRYNAME":"Public Safety"},{"MATERIALNAME":"Advertising","ITEM":"Creating the Common Operating Picture flyer- pdf","INDUSTRYNAME":"Public Safety"}]}
And couldn't populate the data table. When check the code with jsonlint, the code is valid. But I couldn't populate. I got lot of White pass in the json. I am using Coldfusion.
Here is my jquery code
$('.filterSearch').dataTable( {
"sPaginationType": "full_numbers",
"bPaginate": true,
"iDisplayStart": 10,
"bInfo": true,
"sAjaxSource": "../cfcs/indResource.cfc?method=getData"
} );
please help me.
This discussion has been closed.