Hide/Show columns by "never" class

Hide/Show columns by "never" class

Ankit21Ankit21 Posts: 1Questions: 1Answers: 0

Hi

I've added classname "never"(className:'never') for hide the columns but then I need to toggle those columns by clicking on button.

I can do it by visible:false as below but then responsive is not working.
var column = dTInvoiceObj.column(1);
column.visible(true); /*Toggle the visibility */

Can anyone tell me what I need to do.

Regards
Ankit

This discussion has been closed.