web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

How to access the attributes and control from editable subrid

(0) ShareShare
ReportReport
Posted on by 247

Hi,

I have a requirement to remove optionset value of an attribute in my editable subgrid in entity form. 

I have an entity form and in one tab I have an editable grid with some attribute values and one control as an attribute named as "Role" and it contains 5 option value out of which I have to show only the 2 option values.

Can anyone suggest me how to access the control in subgrid or attribute in subgrid and use "removeOptions" function like we do in on entity form so that I can show only the 2 options out of 5.

Thanks

I have the same question (0)
  • Suggested answer
    Moh Helper Profile Picture
    250 on at

    Hi,

    Unfortunately we have just 3 events available for the editable subgrid.

    - OnRecordSelected

    - OnSave

    - OnChange

    There is no "onLoad" event allowing us to have the context of the subgrid.

    We have the method addOnLoad to execute JS code when the subgrid is loaded. But I didn't find anyway to have access to the attribute present on the subgrid.  

    I hope we will have the "onLoad" event on the editable grid in a futur release.

    Kr,

    M. Helper

  • Suggested answer
    Ayaka Iwai Profile Picture
    on at

    There is not onload onptions on editable girds

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 83 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans