Not able to filter search automatically

Not able to filter search automatically

ashok123456ashok123456 Posts: 1Questions: 1Answers: 0

I need to implement functionality to update searchable property value dynamically.
I am able to set option dynamically, it is setting but search is not updating.
dtObj.settings()[0].aoColumns[0].bSearchable = true;

By default, Let take column 1 is searchable.
I am changing its searchable to false.
It is not updating. I mean datatable based on this search update it is not working.

To apply this search changes, I need to clear datatable, and rebind whole data.
Then only it is working.

Is there any other option to make it work with our clearing of data.

This discussion has been closed.