ColumnFilter issue with check box
ColumnFilter issue with check box
pbhakta
Posts: 2Questions: 0Answers: 0
I'm using columnfilter to filter all my datatables columns.
But i have a problem with checkbox filter. Its works well the first time,
but when i'm reloading the page its seems thats the checkbox filter
didnt work anymore....
var zones =['A','B','C']; //this variable data changes during reload;
$('#marketAcc').dataTable( {
"bJQueryUI":true,"bLengthChange": true, "bPaginate": true,"bFilter":true,"bInfo":true,"sPaginationType":"full_numbers", "iDisplayLength": 50,
"aLengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]],
"oLanguage": {
"sSearch": "Search All:"
}, "bResetDisplay" : false,
"aaData":returnedData,
"aoColumns": [
{ "sTitle": "Zone" } ]
} ).columnFilter( { sPlaceHolder: "head:after",
aoColumns:
[
{ type: "checkbox", values:zones}
]
});
But i have a problem with checkbox filter. Its works well the first time,
but when i'm reloading the page its seems thats the checkbox filter
didnt work anymore....
var zones =['A','B','C']; //this variable data changes during reload;
$('#marketAcc').dataTable( {
"bJQueryUI":true,"bLengthChange": true, "bPaginate": true,"bFilter":true,"bInfo":true,"sPaginationType":"full_numbers", "iDisplayLength": 50,
"aLengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]],
"oLanguage": {
"sSearch": "Search All:"
}, "bResetDisplay" : false,
"aaData":returnedData,
"aoColumns": [
{ "sTitle": "Zone" } ]
} ).columnFilter( { sPlaceHolder: "head:after",
aoColumns:
[
{ type: "checkbox", values:zones}
]
});
This discussion has been closed.
Replies
SCRIPT5007: Unable to get property 'oFeatures' of undefined or null reference