OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

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 3 years, 8 months ago.

  • 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)

You must be logged in to reply to this topic.

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

Yes No