I want to allow on a list web part a mutually exclusive selection for the items, so that I can force the user to select a single item and retrieve the item id using the SP.js JSOM.
There is a problem in achieving this:
1) Leaving default view configuration: I can use SP.js to retrieve the items but the user will be able to select multiple items.
2) I can disable in the view the Tabular View option (Allow Individual item checkboxes) to force the user single selection, but then I will not be able anymore to retireve a selected item, as it seems that selection is removed at all.
I need to execute a single custom action on a single selected item (for example through a button on the page); that's why I'm thinking about a way to force single item selection.