marimo
marimo copied to clipboard
feat: resizable cols table
📝 Summary
https://github.com/user-attachments/assets/9e6695fb-5757-4449-b44e-b809d7eafae6
Works quite smooth for small tables but still not very performant for large datasets (still investigating how to optimize 🤔)
- resizing is also a little bit wonky with large width cols (due to
maxWidth being set on tableCell
Docs:
- https://tanstack.com/table/v8/docs/framework/react/examples/column-resizing-performant?panel=code
- https://tanstack.com/table/latest/docs/guide/column-sizing#advanced-column-resizing-performance
🔍 Description of Changes
- supports double click to set to original size
📋 Checklist
- [X] I have read the contributor guidelines.
- [ ] For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on Discord, or the community discussions (Please provide a link if applicable).
- [ ] I have added tests for the changes made.
- [X] I have run the code and verified that it works as expected.
📜 Reviewers
@akshayka OR @mscolnick
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| marimo-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Apr 14, 2025 2:34am |
| marimo-storybook | ❌ Failed (Inspect) | Apr 14, 2025 2:34am |