PDA

View Full Version : Form in RowExpander ?



parsbin
3 Sep 2011, 9:29 PM
Hi
I want to create a form (included some combo and textfield) in RowExpander of grid records.
how can i do this?
my RowExpander code:




var expander = new Ext.ux.grid.RowExpander({
enableCaching:false,
tpl : new Ext.Template(
'<b>text example</b>'
)
});

daddie888
5 Sep 2011, 12:02 AM
Hi, the easiest way to do this is with a modal window instead of expander, but i agree it's not the same.
Iin ExtJs4 id succeeded doing what you ask with a textarea in a rowBody but you need to stop propagating the events and make text selectable, a whole form could be tricky but if someone has done this and wants to share his code, i'll be glad to study it.
Grtz