fnfilter regex limit

fnfilter regex limit

aliBaliB Posts: 6Questions: 0Answers: 0
edited March 2014 in DataTables 1.9
Hi

I created a multi select drop down with checkboxes for several columns in my table, when an option is check or uncheck i am calling this function

$('.multi-select', this).change( function () {
if($(this).val() === null){ // if the user has unchecked all options
oTable.fnFilter( "", $(this).parent().index());
}
else{
oTable.fnFilter( $(this).val().toString().replace(',','|'), $(this).parent().index(),true,false);
}
});

this is working fine if the user selects only two options, when a 3rd option is selected the table just shows results of the last one checked.

"option1|option2|option3"

is there a limit on number of ORs for the fnFilter ?

Thanks !

Replies

  • aliBaliB Posts: 6Questions: 0Answers: 0
    never mind...figured it thanks
This discussion has been closed.