I have a datatable of objects and i want to pass the latest state of the selected object to my function (like an on complete action), when a user clicks on the selectboolean