Fixed column vanishes when hide the other column

Fixed column vanishes when hide the other column

unoounoo Posts: 1Questions: 1Answers: 0

I have 13 columns so tables is with a scroll bar, I have set scrollx: true. When I hide 3 columns, fixed column goes away instead of it there is white space in whole column and data of fixed column is replicated in column beside it.
I have used below code to hide columns.

var table = $('#example').DataTable();

table.columns( [ 1, 3,8 ] ).visible( false, false );
table.columns.adjust().draw( false );

This discussion has been closed.