Skip to content
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

[FEAT] List select multiple records to perform an action against #6661

Closed
daxaxelrod opened this issue Jan 28, 2025 · 2 comments
Closed

[FEAT] List select multiple records to perform an action against #6661

daxaxelrod opened this issue Jan 28, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@daxaxelrod
Copy link

Is your feature request related to a problem? Please describe.

In the list, I'd like to select a subset, using checkboxes on the left of the row, and create a header action button that takes in a list of selected rows.

Django admin has this where you can define custom bulk actions. It's extremely useful and would replace a lot of scripts for us

Describe alternatives you've considered

Scriprts

Additional context

No response

Describe the thing to improve

Extend the useList hook to take a multiSelect prop that turns each row into checkboxes. Have some way for you to run a function against the selected list

@daxaxelrod daxaxelrod added the enhancement New feature or request label Jan 28, 2025
@BatuhanW
Copy link
Member

Hey @daxaxelrod you can see this example:

https://refine.dev/docs/examples/table/mui/useUpdateMany/

@BatuhanW BatuhanW closed this as not planned Won't fix, can't repro, duplicate, stale Feb 3, 2025
@daxaxelrod
Copy link
Author

Worked like a charm, thanks so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants