frappe / datatable

The Missing Javascript Datatable for the Web
https://frappe.io/datatable
MIT License
1.02k stars 164 forks source link

Cell width is not appropriate and also its not bound with the header #35

Closed nick9822 closed 4 years ago

nick9822 commented 6 years ago

Please see the image below when the report loads at first the cell width is with respect to the header and even its having overflowing values there is no horizontal scrollbar at the bottom. image So when I tried to increase the width by dragging it, the horizontal scrollbar appeared but it messed the layout when I dragged it. image

This may be a temporary fix but I made it work by adding $.scrollbarWidth() to the width for 'bodyScrollable` https://github.com/frappe/datatable/blob/faeef3856c1a67c222d211a4ffe69a3cf4fcd3ce/src/style.js#L280

But the horizontal scroll, its still unsolved.

nick9822 commented 4 years ago

Maybe this is not relevant now. I will open again if needed.