Double Header with rowspan. ColVis show hide columns problem..

Double Header with rowspan. ColVis show hide columns problem..

apoapo Posts: 9Questions: 2Answers: 0

HI,

section508.va.gov/support/html/images/complex-table-highlighted.jpg

I have a datatable like in the image and would like to show in my show hide list the Columns of the first header(Monthly, Annualy) and not the second.
Also by hiding Monthly Column as an example should also the colspans columns(Subscriptions, Maintenance) to be hidden too.

Have someone an idea if this is possible ??

For the time being I see only the columns of second header in my ColVis show/hide columns.

As an example I have my code here

        <thead>
                    <tr class="heading">
                        <th>ID</th> 
                        <th>Name</th>
                        <th>Info</th>
                        <th>Tags</th>                            
                        <th colspan="2">Monthly</th>
                       <th colspan="2">Annualy</th>
                    </tr>

                    <tr class="heading secondHeaderRow">
                        <th></th> 
                        <th></th>
                        <th></th>
                        <th></th>  
                        <td>Subscriptions </td>  
                        <td>Maintenance</td>

                        <td>Subscriptions </td>  
                        <td>Maintenance</td>  

                    </tr>
                </thead>

Answers

This discussion has been closed.