Hi, please see the attached razor file.
The code aims to demonstrate the ability to disable buttons in a grids toolbar items.
When I run this code, I find that default buttons (ie Add and Edit) are disabled), but any custom buttons are not - see the screen shot below
checking the dev tools for the page, there appears to be some differences in the script that is generated
Attachment:
TestPage_2ffc47b9.zip