Customized Selections (Allowing for Single / Multiple dependent upon column)

Hi @AnnMarieW ,

Thank you for your previous response.

In your current implementation, all columns are set to single row selection.
What if I want one column is single row selection (like radiobutton) and the other column is multiple row selection (like checkbox), is there any way to achieve this?

Thank you in advance.

Hello @wen,

I don’t think there is a way to do this innately.

You could however use a callback triggered from selectedRows and then adjust the rows if it should be a single selection.

hi @jinnyzor ,

Thanks for your answer :slight_smile:

If the callback is triggered, my current approach is to use all rows as output and clear all of them except for the selected rows. However, this approach may be inefficient when there are a large number of rows, as the application needs to update the status of all rows. Do you have any suggestions on how to implement this callback function more efficiently?

Thank you.

Hello @wen,

I need a little more about the logic to perform these selections. An example app would be beneficial.

And to clarify, you want these selections to go to selectedRows, or you want them to go somewhere else?

Will the selections be available at the same time?