ssossossosso

Forums

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

This topic contains 1 reply, has 1 voice, and was last updated by  anhnhoktvn 1 year, 9 months ago.

  • Creator
    Topic
  • #13279

    anhnhoktvn
    Participant

    Hi,
    In my grid, i have a ‘Status’ column with the config:

    # file: config/datagrid.yml
    # ...
    columns:
    # ...
    status:
    label: 'Status'
    frontend_type: select
    choices:
    0: Disabled
    1: Enabled
    # ...
    filters:
    columns:
    # ...
    status:
    type: number
    data_name: g.status
    # what should i do here to show the multi choices?

    and i found that there is nothing about filtering datagrid in the document.
    Thanks for any help.

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #13280

    anhnhoktvn
    Participant

    I found how to do it:

    status:
    type: choice
    data_name: g.status
    options:
    field_options:
    multiple: false
    choices:
    0: Disabled
    1: Enabled

    Anyway, i think we should have more documents for the filter section.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.