Datagrid2 unselect row on microflow

0
Hi,   I have a grid and have to implement some logic that when a user clicks on a row (multi-select enabeled) the on selection change event will check if a row is selected by another user and if so, a pop-up is triggered and the row is unselected. My problem here is with unselecting the row as the selection is dealt with natively so, as far as my knowladge, there is no way of unselecting a row in a microflow. Does anyone know if this is possible?   Thanks
asked
2 answers
0

Hi João,

 

If this would at all be possible it would be through a nanoflow, as that handles the client interaction. However, for that to be possible you will most likely need to either trigger an onclick event or have an event exposed from the widget. For this it would probably be good to ask the team responsible directly via the Mx community slack.

answered
0

Hi João, 

You probably want to create custom logic with your own selection behaviour, by doing this you could check server side if the selection has been made by another user, if so don't select, if not then update, server side, the selected property and select the row client side. You do need to think of cleaning up the server side selection if the user cancels the selection, closes the page etc..

answered