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
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.
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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.