yajra / laravel-datatables

jQuery DataTables API for Laravel

Home Page:https://yajrabox.com/docs/laravel-datatables

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Responsive table white space issue.

developer-macrew opened this issue · comments

Summary of problem or feature request

The issue at hand pertains to the implementation of DataTables in a Laravel application with a focus on responsiveness. Upon making the table responsive by adding the appropriate classes (such as table and table-responsive), an unwanted white space emerges on the right side of the table. Additionally, the inclusion of (responsive: true) in the server-side configuration aids in achieving the desired horizontal scrolling functionality on smaller screens. However, the cells in the table exhibit fixed widths, thereby hindering their ability to expand and adapt to the full width on larger screens.
image

System details

  • Operating System
  • PHP Version: 8.2
  • Laravel Version 10.10
  • Laravel-Datatables Version 1.13.6

I thing this bug on datatables , i'm found bug like this

I agree with @jamalul-insan, the issue is in JS & CSS and out of the scope of the package. I think we did some tricks for this at the CSS level and disabled the responsive plugin.

@developer-macrew i thing this just add attribute width="100%" on table , it's work with me

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

This issue was closed because it has been inactive for 7 days since being marked as stale.