Adding virtualisation for the table #311
Replies: 7 comments
-
Guys, this has already been discussed a number of times :-) |
Beta Was this translation helpful? Give feedback.
-
I can work on it. My question is, there are many ways to solve this:
I suggest windowing, because intersection Observer is new and maybe will be needed pollyfill. We can use react-window or react-virtualized what you think ? PS: What you think to having Discord channel for this project? |
Beta Was this translation helpful? Give feedback.
-
Hey @alexcastrodev, sorry for being unable to reply sooner, but I'm currently pretty caught-up in a deadline. So, yes, if you're up to it and have the time, feel free to have a go at it, I'd be happy to support in any way I can (though, as stated above, I'm currently under a bit of pressure) and your PRs are more than welcomed. I have built a few other open-source projects besides About setting up a discord channel for the project, yes, I did thought about it a while ago, but again, couldn't find the time to do it... |
Beta Was this translation helpful? Give feedback.
-
Hi @icflorescu , thanks for mantine-datatable which is a great lib. I've used it in a project. However, now the table can grow depending on some filters dynamically in column (from 1 to 500 cols) and row size (from 1 to 3000 rows). And I am afraid that without virtualization / windowing we have to switch from mantine-datatable to React TanStack Table which supports virtualization. Has anybody implemented virtualization / windowing on top of mantine-datatable already? @icflorescu if not can you give some general info (guidance/pointers) on how this could be implemented using either react-window or TanStack Virtual? |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
I've been using this library for my project and found that there is no virtualisation available. We used a basic
<div>
like structure to render a list of items with react-window for performance purposes. Using mantine-datable is a delight, but then I could not find a way in which I can virtualise the list for handling large amounts of rows and columns. Our table has continuous pagination (infinite scrolling type) so virtualisation makes for a very strong use case.Describe the solution you'd like
I explored other libraries like TanStack Table and it seems to have virtualisation enabled. If there could be a way to virtualise the rows it would do the job of handling extensive data without making the DOM heavy.
Describe alternatives you've considered
N/A
Additional context
N/A
Beta Was this translation helpful? Give feedback.
All reactions