As the topic suggests, I'm interested in finding a way to only display delete buttons for specific items in a datagrid depending on the users role. Example:
We have a main page where all the items for a table in our database are listed. A user with role "Administrator" should be able to see delete buttons for all items in the list, while a user with role "User" only should see the buttons for items he/she created where item.status == "Not started".
Yes I've been trying around with that Visibile property but I can't figure out how to write the expression, the problem is I don't know how to get the info of the specific item in the datagrid.
It's easier when you have one item open in an Edit page, I guess I'm just a bit too new at this.