need server side setting from 1.9.4 to 1.10

need server side setting from 1.9.4 to 1.10

umefarooqumefarooq 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
            });
        }
    }

Answers

This discussion has been closed.