'sAjaxSource': Not working online
'sAjaxSource': Not working online
![pranaysoni](https://secure.gravatar.com/avatar/092060e4d1b1b38ea6c1e1cfc75907b5/?default=https%3A%2F%2Fvanillicon.com%2F092060e4d1b1b38ea6c1e1cfc75907b5_200.png&rating=g&size=120)
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