DataTables / DataTablesSrc

DataTables source repository
https://datatables.net
MIT License
627 stars 423 forks source link

Responsive DataTable option only on first page (after 2.0.x upgrade) #281

Closed xJuvi closed 4 months ago

xJuvi commented 4 months ago

I use the responsive option in my DataTables. Before i upgraded to version 2.0 everthing is working fine.

My setup: DataTables 2.0.7 Server-Side processing Bootstrap5 Theme

The first page is already correct rendered. The options which should be displayed in the child row are hidden and the icon to expand the child row is visible. When is use the option to show all results on one page, all results are corretly rendered. Only when i have multiple pages, the results are only applied the responsive option to the first page. All other pages doesn't have an expand icon, so i can't the the child rows.

An example is much difficult because the server-side processing can't be simulated in examples.

AllanJard commented 4 months ago

This commit from yesterday should fix that. You could try the nightly version and see if that addresses it for you: https://nightly.datatables.net/js/dataTables.js?2024-05-10 .

xJuvi commented 4 months ago

Yes Thanks. #280 is the resoultion. I'll wait for the 2.0.8 release.

xJuvi commented 4 months ago

Fixed in version 2.8 ( commit 6abcccb )