-
Notifications
You must be signed in to change notification settings - Fork 16.2k
feat(table): Export table data with "Search box" enabled #36281
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?
feat(table): Export table data with "Search box" enabled #36281
Conversation
Code Review Agent Run #041f8bActionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
|
Love it! I think the change I'd want to see (at least, as of when we chatted) would be to only show this new menu option when it's relevant. We might want to just enable it for charts where it's relevant, via an entry in the chart's metadata. In this case, that would be |
SUMMARY
According to the issue#35141, the export functionality for table chart when the search box enabled and pagination is disabled has some unexpected behaviours for it. We fixed Table chart export by passing filtered rows from DataTable to TableChart using a new callback and storing them in ownState.clientView, allowing frontend exports without backend queries.
Unexpected Behaviour: When the search box is enabled, it will export all data if we do export .CSV, Excel, .JSON
Expected Behaviour: We should export the data appeared in the current view (i.e. filtered data)
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
The before screenshot can be checked in issue#35141. More details in the issue page.



The after screenshot:
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION