I have the following code written so far and it works fine for the usual single selection and sends back the index of the selected row to the parent component (inside the