FormPanel Room Inside RowExpander?

Is there a way to create a FormPanel inside a RowExpander on a grid? I would like to create extjs forms in each line, but for now I will limit myself to specifying a template, which should be HTML.

That is, I have this:

var expander = new Ext.ux.grid.RowExpander({
    enableCaching: false,
    tpl : new Ext.Template($('#row-expander-template').html())
});

How do I change this to use Ext JS Forms inside rows?

+3
source share
2 answers

Funny hacker:

Use the temporary element as a template and in the extension event display the form in the temporary element and then remove it from the DOM.

+1
source

I have not tried this, but looking at the source of RowExpander, it seems that a possible way to do this is to visualize the FormPanel for the body of the extended string inside the RowExpander extension event handler.

FormPanel, . . , , , gridfor beforerefresh, FormPanel. , , , FormPanels.

0

All Articles