{Code Snippet}Accessing Subgrid on QuickView Form (Control) through JavaScript in Dynamics 365

To Access subgrid control which is available on Quick form control use below code. function AddMembers(executionContext) { var formContext=executionContext.getFormContext(); var quickviewControl = formContext.ui.quickForms.get(“Member”); if (quickviewControl != undefined) { if (quickviewControl.isLoaded()) { alert(“Loaded”); var grid = quickviewControl.getControl(“QuickMembers”); var…

Continue Reading BIPIN KUMAR’s Article on their blog

{Code Snippet}Accessing Subgrid on QuickView Form (Control) through JavaScript in Dynamics 365

To Access subgrid control which is available on Quick form control use below code. function AddMembers(executionContext) { var formContext=executionContext.getFormContext(); var quickviewControl = formContext.ui.quickForms.get(“Member”); if (quickviewControl != undefined) { if (quickviewControl.isLoaded()) { alert(“Loaded”); var grid = quickviewControl.getControl(“QuickMembers”); var selectedRows = quickviewControl.getControl(“QuickMembers”).getGrid().getSelectedRows(); } else { setTimeout(AddMembers, 300, executionContext); } } } The data binding for the…

Blog Syndicated with BIPIN KUMAR’s Permission

Author: BIPIN KUMAR

Share This Post On

SCOTtish summit 2021

On February the 27th Scottish Summit 2021 will come to you as a virtual event. With over 250 sessions from all Microsoft technologies. You need to register for your FREE ticket and download the Scottish Summit App to see all the great sessions.