Dynamically pinned / Context rows for tree view table #1476
giuseppe-g-gelardi
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'm going to try and explain what I need to implement as best as I can so I apologize if I'm not making sense.
In the current project I'm working on, we are using a table with expanding rows (tree view). I think there is only something like 16-18 root rows with a lot of sub nested sub rows totally something like 8000 records in total.
I need to implement some kind of dynamically sticky/pinned row - like a context row. similar to treesitter context for neovim users.
So, initial page load, the first root is pinned and once the user scrolls past all of the subrows and the final subrow leaves the table viewport, the next root row becomes pinned and so on and so forth. It needs to also work backwards so if the user scrolls up and the previous root's records are visible again, the previous root needs to be pinned.
Is this possible? If so, is there functionality baked into MRT to acheive this or do I need to hand roll it? If I need to do it from scratch, what might be the best approach?
Thank you for any help, trying to figure this out has been challenging.
Beta Was this translation helpful? Give feedback.
All reactions