Displaying a DataTable with Checkboxes in UiPath Form and Capturing Changes

I’m working on a UiPath project where I need to display a DataTable in a form with checkboxes for each row. I want to capture the state of these checkboxes as Boolean values and record any changes made in the form. I’ve successfully displayed the DataTable using the DataGrid component, but I need help with adding the checkbox column and ensuring that the changes are reflected in the original DataTable upon form submission. If anyone has experience with this, your guidance would be greatly appreciated!