OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – Programming Questions How to search in list of id in datagrid

This topic contains 2 replies, has 2 voices, and was last updated by  thinh2010 7 years, 3 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
  • #34296

    thinh2010
    Participant

    Hi,

    I want to set condition in datagrid such as:
    Select * from entity where id IN (1,2)

    which 1,2 send via parameters of datagrid.

    I have

    print idList|join(‘,’) I got 1,2

    in datagrid I have

    look like it will works, but not. I only always got 1 row each time.

    I think the problem is I parse ‘,’ via datagrid.

    Do you have any ideal to help me?
    Thanks

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

    Mike Kudelya
    Participant

    Hi

    Id parameter must be an array.

    #34298

    thinh2010
    Participant

    Hi @Mike,

    Thanks, I tried with array and it works

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

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

Back to top