OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – Programming Questions Empty column in datagrid

This topic contains 2 replies, has 2 voices, and was last updated by  cardiac 8 years, 1 month ago.

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

  • Creator
    Topic
  • #34057

    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
  • #34058

    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

    #34059

    cardiac
    Participant

    Thanks Rodolfo for your reply.

    Solved it with an alias for f.id:

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

The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.

Back to top