This question is locked. New answers and comments are not allowed.
Hi..
I need to make the "Insert new" button and the toolbar visible only when some condition occurs (like the user having permission to add new records).
I'm already doing this with the Edit and Delete buttons this way...
... but I can't find a "Visible" builder for toolbar or for the Insert button... any hint on how doing this ?
Cheers!!
I need to make the "Insert new" button and the toolbar visible only when some condition occurs (like the user having permission to add new records).
I'm already doing this with the Edit and Delete buttons this way...
columns.Command(commands => { commands.Edit(); commands.Delete(); }) .Visible(Principal.GetGeneric().IsInFunctionality(Functionality.TheFunctionality)) .Width(180).Title("Acciones");... but I can't find a "Visible" builder for toolbar or for the Insert button... any hint on how doing this ?
Cheers!!