ssossossosso

Forums

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

This topic contains 2 replies, has 2 voices, and was last updated by  cardiac 1 year, 9 months ago.

  • Creator
    Topic
  • #16246

    cardiac
    Participant

    Hi,

    I’m currently very confused because a column in my datagrid is empty and I don’t know how to fix it. Because I thought a concrete data source solves the problem with multiple ids in select.

    Query is correct and shows the correct result running it in mysql directly.

    Why is data_name: f.id not working for id column?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #16257

    Rodolfo
    Participant

    Hi @cardiac

    As far as I know, you use data_name for sorters and not for columns. Check this example:

    https://github.com/orocrm/platform/blob/master/src/Oro/Bundle/UserBundle/Resources/config/datagrid.yml#L25-L30

    #16266

    cardiac
    Participant

    Thanks Rodolfo for your reply.

    Solved it with an alias for f.id:

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

You must be logged in to reply to this topic.