Hi Pham Minh Chau,
You could have the checkbox being a Boolean attribute in your datagrid entity. When you check the checkboxes, the value of the checkbox boolean becomes true. When you eventually press the delete button, you call a microflow that deletes all the entities with checkbox true.
- Create a boolean attribute in the entity and set it as attribute for the checkbox
- Creat for the OnClick event of the delete button a Microflow
- In the Microflow retrieve a list with object that have the checkbox attribute on true.
- Run a Delete activity for that list, so the objects will be deleted.
- (make sure you enable ‘refresh in client’ to directly see the delete results.)
Hope this will help you toward you goal. Good luck,
Jan