Skip to main content

I want to disable all of these actions for my custom grid on a particular status of my parent document. How it can be done please advice

 

Thanks

In your master DAC RowSelected event handler set the child View AllowInsert AllowUpdate And AllowDelete to false when condition met. For example if your grid view name is ChildView theN set the above mentioned properties like

ChildView.AllowInsert = false; if your code is in a graph ext then add Base. before your view name.


@param2022  Write a condition with the below code in the Row_Selected Event

 

GRIDView.AllowInsert = false; // To disable the Insert button

GRIDView.AllowUpdate = false; // To disable the rows to update the records

GRIDView.AllowDelete = false; // To disable the delete button 


Reply