OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – Programming Questions Datagrid – Dropdown

This topic contains 1 reply, has 1 voice, and was last updated by  scivray 5 years, 6 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
  • #33813

    scivray
    Participant

    Hi,
    Is there a way to have a dropdown into a datagrid ?
    I checked the different frontend_type and was wondering what is select frontend_type ?
    Because I found some configuration like this in CalendarBundle :

    system-calendar-grid:
    source:
    type: orm
    query:
    select:
    – sc.id
    – sc.name
    – sc.public
    from:
    – { table: %oro_calendar.system_calendar.entity.class%, alias: sc }
    columns:
    name:
    label: oro.calendar.systemcalendar.name.label
    public:
    label: oro.calendar.systemcalendar.public.label
    frontend_type: select
    choices:
    0: oro.calendar.systemcalendar.scope.organization
    1: oro.calendar.systemcalendar.scope.system

    but I can’t figure out what frontend_type: select does.

    Thanks,

    Sylvain

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

    scivray
    Participant

    Ok, I missed that :

    editable: true

Viewing 1 replies (of 1 total)

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

You will be redirected to [title]. Would you like to continue?

Yes No