This topic contains 1 reply, has 2 voices, and was last updated by Mike Kudelya 7 years, 8 months ago.
- Topic
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?12345678910111213141516datagrid:foo:source:type: ormquery:select:- qux.id- qux.namefrom:- { table: AppBundle\Entity\Qux, alias: qux }columns:bar:type: twiglabel: abcfrontend_type: htmltemplate: AppBundle:Datagrid:Column/bar.html.twigAnd inside bar.html.twig something like that
{{ entity.someLogicMethod }}
The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.