need server side setting from 1.9.4 to 1.10
need server side setting from 1.9.4 to 1.10
umefarooq
Posts: 1Questions: 1Answers: 0
Hi, i have server side setting for datatables 1.9.4 can anybody help me to convert it to datatables 1.10 here is my old settings
{
'bServerSide': true,
'sAjaxSource': base_url + controller + '/datatable_callback/',
'aoColumns': [{'sName':"Col 1"},{'sName':'Col 2'}],
'aaSorting': [[0, 'desc']],
'fnServerData': function(sSource, aoData, fnCallback) {
$.ajax({
'dataType': 'json',
'type': 'POST',
'url': sSource,
'data': aoData,
'success': fnCallback
});
}
}
This discussion has been closed.
Answers
http://datatables.net/upgrade/1.10-convert
Worth checking the upgrade notes for 1.10 as well, if you are going to switch to using
ajax
since it sends different parameters.Allan