-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[core] Allows to add custom export item #3891
[core] Allows to add custom export item #3891
Conversation
These are the results for the performance tests:
|
👋 The migration PR has been merged. Please follow these steps to make sure that the contents are all updated. (Sorry for the inconvenience)
If you are struggle with the steps above, feel free to tag @siriwatknp |
packages/grid/_modules_/grid/components/toolbar/GridToolbarExport.tsx
Outdated
Show resolved
Hide resolved
packages/grid/_modules_/grid/components/toolbar/GridToolbarExportContainer.tsx
Outdated
Show resolved
Hide resolved
@flaviendelangle I added a section in the doc to explain how to add a custom export I'm wondering if I should tag this demo as pro, because adding a menu item can be done with the community version, but to make the export, the developer needs to access the data. Without selectors, this part is fairly complicated |
@alexfauquette All your demo can be done on the community plan |
Should we rewrite the doc on access the state? |
For me we are in an inconsistent scenario. This situation should be solved in a few weeks. EDIT: You have the exact same thing for all the |
This is a refacto of the export menu, to simplify #3802
The idea is to simplify the GridToolbarExport
Such that adding an export format could be done by defining new export
Each child of
GridToolbarExportContainer
receive ahideMenu
method which allows them to hide the menu when clicked