Check hideCol () and showCol ()
$('#tblId').hideCol('column'); $('#tblId').showCol('column');
Instead of a column name, you can also use a column index.
But I did not see that this function was implemented (for example, directly from the header).
source share