search callback is called twice

search callback is called twice

MuhaheMuhahe Posts: 25Questions: 8Answers: 2

Hi, when i perform search on table like this

subTablesList[i].api().columns(columnsObj.column_number).search(serachVal, regex, smart, caseInsen).draw();

and trying to catch callback

    subTable.on('search.dt', function(){
       //some code
    })

the callback is fired twice on single search. is there posibility to prevent it?

Answers

This discussion has been closed.