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

Unlock text field on editable grid

(1) ShareShare
ReportReport
Posted on by 45

I have a locked custom text field on an editable grid and would like this to not be locked. There is no javascript and everything on the field seems correct. On the form the field is editable just fine. What am I missing? 

  • Suggested answer
    We3 Profile Picture
    5 on at
    RE: Unlock text field on editable grid

    If you are wondering where to find this just go to the entity's form designer and double-click on the sub-grid, add the JS library and connect to the OnRecordSelect event.

  • Suggested answer
    MehranBre Profile Picture
    730 on at
    RE: Unlock text field on editable grid

    hi,

    Call the following function for the OnRecordSelect editable grid event. Also check "Pass execution context as first parameter".

    function onSelectSubGrid(context) {
    
        var subGrid = context.getFormContext().data.entity;
    
        subGrid.attributes.forEach(function (field, i) {
            field.controls.get(0).setDisabled(false);
        });
    }

  • gkatsaros Profile Picture
    45 on at
    RE: Unlock text field on editable grid

    There is no business rule, flow, security, or javascript on the form that is tied to this grid.

  • Suggested answer
    MehranBre Profile Picture
    730 on at
    RE: Unlock text field on editable grid

    Hello,

    Sorry, I meant "Business Rule" on the form of related Entity.

    pastedimage1614590846966v1.png

  • gkatsaros Profile Picture
    45 on at
    RE: Unlock text field on editable grid

    could you explain more about what you mean?

  • Suggested answer
    MehranBre Profile Picture
    730 on at
    RE: Unlock text field on editable grid

    hi,

    Have you used "Business Process Flow" on the form of related Entity (Editable View)?

    best regards.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans