Re:Show HN: Grid.js – Advanced table library that works ever...
by afshinmeh on Thursday June 04, 2020 @04:01PM
(#23421079)
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!
Re:Show HN: Grid.js – Advanced table library that works ever...
by robertlagrant on Thursday June 04, 2020 @04:24PM
(#23421326)
> Oh great!
The correct response :-)
Re:Show HN: Grid.js – Advanced table library that works ever...
by simonw on Thursday June 04, 2020 @05:00PM
(#23421715)
Awesome :)
Re:Show HN: Grid.js – Advanced table library that works ever...
by nightski on Thursday June 04, 2020 @04:56PM
(#23421667)
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)
Re:Show HN: Grid.js – Advanced table library that works ever...
by afshinmeh on Friday June 05, 2020 @07:27PM
(#23435179)
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!
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=...