Please help me!! In crm 2016. How can I get subgrid name in a entity when I don't know what 's this by javascript??
*This post is locked for comments
Please help me!! In crm 2016. How can I get subgrid name in a entity when I don't know what 's this by javascript??
*This post is locked for comments
Could you please describe your requirement , why you need to get subgrid name using JavaScript ?
As this is configurable by System User using form editor-> Grid properties -> changing the name /unique name. So you can put hard code anywhere you can use in the Javascript function.
you can try this code
var ReqInvenDetails = window.parent.document.getElementById("SubgridName");
Go to form -> find your subGrid and double click on it.
In the following popup, you will see your sub-grid name.
You need to use that name in your JavaScript files.
In the screenshot below, I am looking at the Opportunities grid on the Contact form:
If this answer helps you, please mark it as verified.
Cheers!
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156