What is the best approach to customize the Grid Toolbar. For example I have users that will have permissions to Add rows to the grid and others that won't
I have already created the ToolbarSettings for the grid , but need to be able to make visible or enable/disable one of the buttons (ToolbarItems.Add)
My User Role is determined in the ViewBag, so for example
@if (ViewBag.LoggedUser.CanAdd)
{
//Enable toolBarItems.Add button in grid
}