PDA

View Full Version : RowExpander Plugin : body undefined



nitingautam
19 Jan 2014, 10:58 AM
I am using grid RowExpander plugin for extjs 3, it works fine but when I try to render a table inside it means DATA2 it give me error inside it;s beforeExpand listener that typeerror: body not defined


expander = new Ext.ux.grid.RowExpander({
tpl : new Ext.Template(
'<p style = "padding:3px;background-color:#aeaeae;"><b>Description:</b> {DATA1}</p><br/><p><b>Details:</b>{DATA2}</p>'
),
expandOnEnter: false,
expandOnDblClick: false
});

DATA2

<br/><table><tr><th>Plan</th><th>Claim Type</th></tr><tr><td>729</td><td>STD</td></tr></table>


What can beissue?

nitingautam
19 Jan 2014, 6:22 PM
any guidance?

nitingautam
22 Jan 2014, 12:01 AM
I able to make it work with DIV behaving as table but not able to work with tables directly.

slemmon
28 Jan 2014, 2:51 PM
I'd think it would work with any html in the template. Can you post a full test case and I'll test along with you?