Combining Responsive and Child row expanders
Combining Responsive and Child row expanders
Hi,
I first was using standard child row expanders to show details for records.
Now to support responsive tables I'm using responsive as well.
I use a custom renderer to format the details of a record.
But this only works if one of the columns is hidden because of responsive.
If all columns are shown then the click on the row does not work and the row is not expanded.
I would like to display data in the expanded row that is never shown in the table itself.
I created an example here: http://live.datatables.net/yabafeko/1/edit?html,css,js,output
In this example the rows are not expanded.
Now if you change <th cclass="none">Salary</th> to <th class="none">Salary</th> then - because the column is hidden - the rows are expanded.
Is there a way using responsive extension to always expand the row, regardless if some columns are hidden or not.
Thanks,
Marcel