'sAjaxSource': Not working online

'sAjaxSource': Not working online

pranaysonipranaysoni Posts: 23Questions: 2Answers: 0
edited April 2012 in General
var oTable;
var tableId = 'example';
var ws_GetData = 'jquerypagemethod.aspx/GetStockData';
oTable = $('#' + tableId).dataTable({
'sPaginationType': 'full_numbers',
"bJQueryUI": true,
'bPaginate': true,
'iDisplayLength': parseInt(PerPageCount),
'bProcessing': true,
'bFilter': true,
'bServerSide': true,
// "aoColumns": [{ "bSortable": true},{ "bSortable": true }, { "bSortable": true},{ "bSortable": true }, { "bSortable": true},{ "bSortable": true}],
'sAjaxSource': ws_GetData,
"fnServerData": function (sSource, aoData, fnCallback) {
// ParamData(sSource, aoData, fnCallback);
GrabData(sSource, aoData, fnCallback);
},
});

Replies

  • allanallan Posts: 63,810Questions: 1Answers: 10,516 Site admin
    Going to need a bit more detail than that :-). What about it isn't working? What is returned from the server for the Ajax request?

    Allan
This discussion has been closed.