1
function DataTable() {
$('#displayData').dataTable({
"bProcessing": true,
"bServerSide": true,
"bStateSave": true,
"bSort": false,
"bFilter": false,
"aoColumns": [
{ "mDataProp": "name" }
],
"fnServerData": function (sSource, aoData, fnCallback, oSettings) {
oSettings.jqXHR = req.query('GET', url, aoData, function(responseServer, status, xhr) {
json = responseServer.dataListCustomer;
fnCallback(json);
//HERE
}, function(jqXHR, textStatus, errorThrown) {
return showError(exception);
});
}
});
}
這裏是哪裏我想刪除其中的dataTable保存的cookies,我該怎麼辦呢?
我必須bStateSave保存爲真,因爲我想保留狀態。還有,我想要刪除cookie時,我想要 – faszynski
你想刪除哪個cookie? –
由bStateSave保存,但只在我指定的情況下 – faszynski