'sAjaxSource': Not working online
'sAjaxSource': Not working online
pranaysoni
Posts: 23Questions: 2Answers: 0
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);
},
});
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);
},
});
This discussion has been closed.
Replies
Allan