NeXTs / Clusterize.js

Tiny vanilla JS plugin to display large data sets easily
https://clusterize.js.org
MIT License
7.22k stars 412 forks source link

Scrolling breaks table column widths #188

Open alksily opened 2 years ago

alksily commented 2 years ago

After clusterize-extra-row clusterize-top-space is added, column widths break. Is there any advice on how to fix the problem?

Example: https://jsfiddle.net/p3ugwos7/1/

gastonortigoza commented 1 year ago

Did you find a solution to this ?

alksily commented 1 year ago

Yea, in the end, I found a solution. My project uses Bootstrap 4, so I simply removed the <table> and replaced it with rows and columns (using the Bootstrap Grid system). I also had to make changes in css for it to work. You can check the code here clusterize.min.css and here datatable.twig. I'm satisfied with the final result. gl