List selectable element

0
Hello,  Do someone knows if it is possible to make some element of a list not clickable/selectable?  Let’s says I display 10 elements in a list, but only two can be selected.   Thank you
asked
2 answers
0

As the action for list view is actually defined in the widget itself, as given in the below screen shot, I dont think it is possible to have a few items selectable and few not selectable. 

However, a work around could be, after selection, based on your criteria, you could probably show a message it is not possible to process the selected item.

answered
0

Another solution can be not to use ‘on click’ action from list view but instead display a button (e.g. view/edit) on each row and add a visibility condition. E.g. assume there is an attribute called ‘status’ with values ‘Draft’ and ‘Approved’ in your list view entity, you can add a visibility condition on the view/edit button so be only visible if the status =  Approved. This will make sure user can only see that button on required rows in your list view where status is approved.      

 

Hope this helps!

answered