Hi Vinodhini,
Have you tried to use dynamic row class? For example, you can create custom css class:
.noClick {
pointer-events: none;
}
Dynamic row class on DataGrid2:
if true
then 'noClick'
else ''
Hi Vinodhini,
I am not sure but i don’t think this can be achievable.
But here you can manipulate this on the basis of visibility.
Just off the datagrid2 row click functionality -> show your data inside container with the help of custom content -> take custom content inside this take 2 containers-> show your data what you want to show -> In the 1 container set the visibility $currentObject/BooleanAttribute =true & set nothing onClick on this container -> In the 2 Container set the visibility $currentObject/BooleanAttribute = false & set onClick action what you want to perform on this container.
By using this logic you can manipulate the onClick of row.
Hope you like the answer
In addition to disabling it in the front-end, for proper security you can build your logic in the first decision block of a Microflow and disable the activity based on the condition you want. So someone could click on the row but nothing would happen still.
That accompanied with the pointer-events: none CSS rule suggested by David should suffice