Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Enabled editable grid on Opportunities but every column is locked

Posted on by 27

I enabled Editable Grid on the opportunity entity. Yet when I try to edit, every column in the view has a lock. These fields are not read-only in the form.

In my solution, I click on Components->Entities->Opportunity. On the Controls tab, I have Read-only Grid for Phone and Tablet, and Editable Grid for Web.

pastedimage1635359794952v1.png

Yet every column is locked:

pastedimage1635359876281v2.png

This occurs on every view I have on Opportunities.

Some of the views are customized to specify columns. If I look at Custom Controls on the view, I see this below. It seems to say that the view is Read Only. But I don't see a way to add Editable Grid to the view - it is not an option when I click Add Control.

How do I get this view to be editable?

pastedimage1635360290887v3.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Enabled editable grid on Opportunities but every column is locked

    Hi JoeyD,

    It's so strange, is it only opportunity entity or will the same happen to other entities?

    Maybe you can try to change another browser or clear browser cache to test again.

    And what version of your environment? or you can package the entity and views etc into a solution and import into a replica test environment to check if the issue will happen again.

  • JoeyD Profile Picture
    JoeyD 27 on at
    RE: Enabled editable grid on Opportunities but every column is locked

    You can't enable Editable Grid control for just one specific view, you just can enable it at the entity level, and enabling Editable Grids at the entity level will then allow you to turn any view into an editable grid.

    That's OK with me - I thought perhaps there was something in the views that was causing this. It is enabled at the Entity level.

    As you mentioned, "Yet every column is locked:", which may be due to the status of opportunity record.

    The Status is definitely Open.

    pastedimage1635392206299v1.png

    And some data types are NOT editable in an editable grid: Composite fields (like Full Name and Address fields), State/Status fields, Lookup entity-related fields, Customer lookup fields, Owner.

    Yes, I get that. But if you look at my example above, there is a date field, number fields, and a text field. But all of them have a lock.

    Also, you can check if there are business rules or js that lock all fields.

    There is none of that. If I double click on the row to get to the full form, I can edit the fields. And I'm a global admin, so I can edit everything.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Enabled editable grid on Opportunities but every column is locked

    Hi JoeyD,

    You can't enable Editable Grid control for just one specific view, you just can enable it at the entity level, and enabling Editable Grids at the entity level will then allow you to turn any view into an editable grid. 

    As you mentioned, "Yet every column is locked:", which may be due to the status of opportunity record.

    Test:

    Only records that status is open can be editable:

    pastedimage1635389668154v1.png

    And some data types are NOT editable in an editable grid: Composite fields (like Full Name and Address fields), State/Status fields, Lookup entity-related fields, Customer lookup fields, Owner.

    Also, you can check if there are business rules or js that lock all fields.

    (+) Lock the Columns of Views in Editable Grid of D365 CE - Dynamics 365 Customer Service Community

    {Dynamics CRM 365} Disable fields in Editable Grid View using Javascript – xrm CRM Dynamics (wordpress.com)

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans