I am using the datatables plugin, and everything works good until I add enable server side processing.
All the rows from the table appear together on the page, no css and borders and no search query works.
"DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error."
I am simply using a SQL data source which is being bound to a gridview.
$(document).ready(function () {
var oTable = $('#GridView1').GridviewFix({ header: "headerStyle", row: "rowStyle", footer: "footerStyle" }).dataTable({
"bServerSide": true,
"sAjaxSource": "WebForm4.aspx",
"sPaginationType": "full_numbers",
"oLanguage": {
"sSearch": "Search all columns:"
}});
I am using firebug to see my JSON Data but there is no JSON data being detected either by firebug or fiddler.
Do I have to convert the sql data to JSON format or something? What must I do ? I have tried to post on their website but no luck.
Everyone with the similar problem sees to get a JSON response from the server but in my case , there is none.