How to hide columns in the first level of complex headers
How to hide columns in the first level of complex headers

Hello
I am trying to hide a column of the upper level of a header of two levels using the api function
this.api().column( '.steps' ).visible( false );
in the initComplete function
and it is not hiding the column. Is it possible to do it ?
I have created the following js fiddle to show an example: https://jsfiddle.net/jontxo/xnacL9d3/34/
Regards
This discussion has been closed.
Answers
The issue is because the class
steps
isn't on a column as such, it's on thecolspan
. If you put thesteps
class on the columns within that group, then it works - see here.Colin
thanks