OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – How do I? Questions Access entity in column template of datagrid

This topic contains 1 reply, has 2 voices, and was last updated by  Mike Kudelya 7 years, 8 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #29015

    vphant
    Participant

    Hello.
    I need to show a custom dynamic value in the datagrid. Logic is inside an entity. I can’t show the value of a column directly from database.
    How can I access entity inside bar.html.twig?

    And inside bar.html.twig something like that
    {{ entity.someLogicMethod }}

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #29016

    Mike Kudelya
    Participant

    Hi,

    Try set context to field:

    and call it from template:

Viewing 1 replies (of 1 total)

The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.

Back to top