Hacker News new | past | comments | ask | show | jobs | submit login

I'm playing around with it in an Observable notebook here: https://observablehq.com/@simonw/grid-js-with-datasette

Any idea why the columns aren't displaying correctly for wider tables? Take a look at this example:

https://observablehq.com/@simonw/grid-js-with-datasette?url=...




Oh great! I guess the columns are not properly rendered because there are a lot of columns. That looks like a bug to me. I just created two issues and will release a bug fix soon.

Thanks!


> Oh great!

The correct response :-)


Awesome :)


I took a look at it appears the observable notebook has a stylesheet defined with a table element style that sets a table's max-width to 640px. That is why it is not expanding to fill the width. (I am not associated with the project)


Hey Simonw! I fixed both issues with the column/table width and published v1.1.1. See: https://observablehq.com/@afshinmeh/grid-js-with-datasette?u...

Please take a look and let me know what you think!


That's awesome - fast turnaround too! Thanks for the fix.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: