how to exclude specific columns in column visibility button?
how to exclude specific columns in column visibility button?
 kittu.rajanala            
            
                Posts: 4Questions: 1Answers: 0
kittu.rajanala            
            
                Posts: 4Questions: 1Answers: 0            
            I have written like this  { extend: 'colvis',
                              text: 'Column Visibility',
                             columns: ':not(:first-child)',
                    }
but it will hide the only first column
please advise me how to do this
This discussion has been closed.
            
Replies
Which is exactly what you've told it to do: :not(:first-child).
You would modify that selector to match what you need.
Allan