You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you intend to try to help solve this bug with your own PR?
No, because I do not know how
Terms
I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
The text was updated successfully, but these errors were encountered:
I should also mention to just change columnFilterDisplayMode: 'popover', to subheader or just comment out that line, to get filters to work (maybe that's another bug with popover?)
Hi there, so I've been playing around with this. And although I can reproduce this behavior with both popover and subheader I do not believe this is a bug. The reasons is that filtering the rows does not alter the selection even in TanStack Table itself, however, to achieve the behaviour you want, you can use getFilteredSelectedRowModel instead. This comes directly from TanStack so the typings won't match MRT_TableRow.
Great that you solved it! I think you should try with the method I mentioned above though, it might allow you to implement the same functionality without the extra useEffect
mantine-react-table version
^2.0.0-beta.1
react & react-dom versions
18.2.0
Describe the bug and the steps to reproduce it
Minimal, Reproducible Example - (Optional, but Recommended)
https://codesandbox.io/p/devbox/github/KevinVandy/mantine-react-table/tree/v2/apps/mantine-react-table-docs/examples/export-to-pdf/sandbox
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
No, because I do not know how
Terms
The text was updated successfully, but these errors were encountered: