PDA

View Full Version : RowExpander - row content not updating when record changes



TheDude55
18 Jun 2012, 12:38 AM
Hi. I'm using the RowExpander plugin. It's working great except that the row body content does not update with the record being modified. Anyone got any ideas? Thanks.



plugins: [{
ptype: 'rowexpander',
expandOnDblClick: false,
rowBodyTpl: [
'<div style="margin: 10px; padding: 15px; border: 1px solid black;">',

'<b>Student detail validation errors:</b><br/><br/> {DetailValidationErrors}',

'</div>'
]
}],

TheDude55
18 Jun 2012, 4:26 AM
This did the job:

grid.getView().refresh();

Anybody got a better way, I'd love to know. Thanks