OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – HTML, JavaScript, CSS, Design Questions Render twig (form) in dialog from datagrid mass action

This topic contains 1 reply, has 2 voices, and was last updated by Hryhorii Hrebiniuk Hryhorii Hrebiniuk 5 years, 5 months ago.

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

  • Creator
  • #34654


    Hello together,

    I defined a custom mass action for a datagrid. The thing I dont know is, how to open a dialog which renders a twig with a form from this mass action. In that form, the selected data_identifiers should be available. Could anyone give me a hint? THX.

Viewing 1 replies (of 1 total)
  • Author
  • #34655
    Hryhorii Hrebiniuk
    Hryhorii Hrebiniuk

    Hello @jmcclane,

    There’s method of datagrid getSelectionState that returns information of selected items. This method is accessible from mass-action. Fetched selectionState have to be passed to server over parameters in request for dialog content.

Viewing 1 replies (of 1 total)

The forum ‘OroPlatform – HTML, JavaScript, CSS, Design Questions’ is closed to new topics and replies.

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

Yes No