Flexibility of custom CSS
Hello,
I am doing some work on the permissions front for a project and found one place where the grid widget might be lacking some input bindings.
If a user should not have access to running some service where you for example add/delete/update a row using the Edit button of the grid. I have not found a good way of preventing the user from actually clicking the Edit button in the grid as the "EditButton" property of the grid widget is not bindable:

Now, I was able to make the button disabled by using custom CSS, but to make that work I had to disable the entire grid toolbar using this custom CSS code:
.myGridClass .widget-ptcsgrid::part(grid-control) {
pointer-events:none;
}
But by doing this, I also disable the "ColumnsMenuOption" that shows as "Display" dropdown in the grid toolbar.
Does anyone know how to (if possible) disable just the Edit button?

Is there any good documentation/resources on how to use the custom CSS when dealing with parts of widgets? I have looked at several resources from PTC like:
https://www.ptc.com/en/support/article/CS324593
But I haven't quite been able to figure it out.
Any help would be much appreciated!
Best regards Jens C.

