ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 1 reply, has 2 voices, and was last updated by Mike Kudelya Mike Kudelya 1 year, 1 month ago.

  • Creator
    Topic
  • #21748

    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
  • #22072
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi,

    Try set context to field:

    and call it from template:

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.