OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums OroPlatform Inline datagrid update

This topic contains 4 replies, has 2 voices, and was last updated by  William Radi 12 months ago.

  • Creator
    Topic
  • #37197

    William Radi
    Participant

    Hello there!

    I created an entity, called Type(Tipo), that relates with Oro Task entity.
    In my Task form, “Type” is an entity field and has some possible options.

    This field should not be updated through the datagrid.
    But Oro, through the relationship made, made it updatable in the Task datagrid, as well as some other native Task fields:

    Task datagrid

    So, how do I make this updatable only through the update page?

    Thanks a lot!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #37198

    William Radi
    Participant

    Is it possible?

    #37199

    William Radi
    Participant

    Hi Oro Team! :)

    Is it impossible to change?

    #37200
    Andrey Yatsenko
    Andrey Yatsenko
    Moderator

    You can do this by setting editable: false for the datagrid column configuration, this can be done with the datagrid listener with the method like:

    and tag the listener with :

    #37201

    William Radi
    Participant

    Hi Andrey!
    How you doing? :)

    Thanks for your answer! Helps a lot with another problems too.
    However, the edit option still there. I tried to change ‘editable’ to another propertie, like ‘label’, to test the listener and worked. But ‘editable’ propertie, not..

    I created this file using the product column to test:

    And the event listener into services.yml:

    Thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No