delete selected records #5448
-
hello everyone i want to add checkboxes to the table so that i can select more than one record and press on button to delete them how can i do that ? |
Beta Was this translation helpful? Give feedback.
Answered by
minhhungit
Feb 7, 2021
Replies: 1 comment 12 replies
-
there is a sample to create checkbox here https://serenity.is/demo/BasicSamples/CancellableBulkAction after you have checkbox, just add new button and call delete service in click() method |
Beta Was this translation helpful? Give feedback.
12 replies
Answer selected by
samaremad
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
there is a sample to create checkbox here https://serenity.is/demo/BasicSamples/CancellableBulkAction
code https://github.com/serenity-is/Serene/blob/master/Serene/Serene.Core/Modules/BasicSamples/Grids/CancellableBulkAction/CancellableBulkActionGrid.ts
after you have checkbox, just add new button and call delete service in click() method