Recently we faced with a bit exotic task. We have an AJAX call which return the raw datagrid html (the result of dataGrid.renderGrid() twig macro). Then we need to render this grid somehow. As far as I know, during the page load we have a JS method initPageComponents() which renders elements with [data-page-component-module] attribute. The question is how I can call this method, or trigger some mediator event in order to render the raw datagrid html.
You must be logged in to reply to this topic.