4 ms·
I'm playing around with it in an Observable notebook here: https://observablehq.com/@simonw/grid-js-with-datasette https://observablehq.com/@simonw/grid-js-with
by simonw 6y ago
I'm playing around with it in an Observable notebook here: https://observablehq.com/@simonw/grid-js-with-datasette 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=https%3A%2F%2Ffivethirtyeight.datasettes.com%2Ffivethirtyeight%2Fbiopics%252Fbiopics.json https://observablehq.com/@simonw/grid-js-with-datasette?url=...
- afshinmeh 6y agoOh 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!
- robertlagrant 6y ago> Oh great! The correct response :-)
- simonw 6y agoAwesome :)
- nightski 6y agoI 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)
- afshinmeh 6y agoHey Simonw! I fixed both issues with the column/table width and published v1.1.1. See: https://observablehq.com/@afshinmeh/grid-js-with-datasette?url=https%3A%2F%2Ffivethirtyeight.datasettes.com%2Ffivethirtyeight%2Fbiopics%252Fbiopics.json https://observablehq.com/@afshinmeh/grid-js-with-datasette?u... Please take a look and let me know what you think!
- simonw 6y agoThat's awesome - fast turnaround too! Thanks for the fix.