DataTables / Responsive

Responsive extension for DataTables, providing support for complex tables on all device screen sizes
Other
148 stars 86 forks source link

Plugin doesn't recalculate the colspan for the td.dataTables_empty row on resize #100

Closed akkie closed 7 years ago

akkie commented 7 years ago

I have a table with x columns. In responsive mode three columns will be displayed. If the table is empty, then the row (td.dataTables_empty) gets a colspan from 3. Now if I resize the table, so that more columns will be displayed, the row keeps the initial colspan.

dt-bug-3 dt-bug-full

https://jsfiddle.net/j58yxxtx/1/

DataTables commented 7 years ago

Hi,

Thanks for raising this. Its actually already been fixed by this commit.

Updated fiddle using the nightly version.

akkie commented 7 years ago

Thanks for the response. Is there an ETA for a new release? I use the NPM version so I cannot use the nightly.

DataTables commented 7 years ago

I'll try to get it packaged up next week.