disable subgrid – Microsoft Dynamics CRM Forum Community Forum

Forum Post: Change the Filter On option on Opportunity Associated View for Account form

You can disable an editable subgrid control by first grabbing the grid control (also referred to as the grid context) which is similar to grabbing any other control.  Then disable the grid context.  It’s even in Microsoft’s Client API online documentation:


setDisabled() is listed as an available call for the grid control.

let disableGrid = function (formContext) {

       let gridContext = formContext.getControl(“GridsName”);



However, you can still drill into listed records.  You cannot stop that.

Source link

Leave a reply

Please enter your comment!
Please enter your name here