How to make searchable false dynamically

How to make searchable false dynamically

kalpesh.vyas26kalpesh.vyas26 Posts: 10Questions: 2Answers: 0

Hello all,

I am using below code for making a column's visibility false
ticketTable.column(colIndex ).visible(false);

Is there any similar way to make it non searchable also?

Answers

  • allanallan Posts: 61,642Questions: 1Answers: 10,093 Site admin

    Sorry - no. Its something I hope to add in future, but there isn't an option for that at the moment.

    Allan

  • kalpesh.vyas26kalpesh.vyas26 Posts: 10Questions: 2Answers: 0

    Any workaround ? No?

  • tangerinetangerine Posts: 3,348Questions: 36Answers: 394

    No. Allan would have said if there was a workaround.

  • allanallan Posts: 61,642Questions: 1Answers: 10,093 Site admin

    Correct. Basically the only option is to destroy the table (destroy()) and then initialise it again with the new options you want.

    Allan

This discussion has been closed.