-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[docs] Fix size
column filtering in files tree demo
#17952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Please add one type label to categorize the purpose of this PR appropriately:
|
2 similar comments
Please add one type label to categorize the purpose of this PR appropriately:
|
Please add one type label to categorize the purpose of this PR appropriately:
|
Deploy preview: https://deploy-preview-17952--material-ui-x.netlify.app/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@michelengelen BTW, shouldn't we also add |
It's a fix, so the correct label would be a "bug" label. For others this would be the upcoming "improvement" or "internal" label. This is still up for discussion on notion though, so feel free to reference this there. |
I added
valueGetter
and kept only one unit for the size column to make filtering and sorting work reliably.Before: https://stackblitz.com/edit/bbwp47fm?file=src%2FDemo.tsx
After: https://deploy-preview-17952--material-ui-x.netlify.app/x/react-data-grid/aggregation/#usage-with-tree-data