eraflame
23 Apr 2012, 3:49 AM
Hi all!
First of all, sorry for my bad English.
I have a grid.Panel with rowExpander plugin, that has property:
rowBodyTpl: '<div id="nested-{id}"></div>'
and
After this grid rendered i create new grid for every nested-{id} with another store.
Ext.getCmp('innerGridPanel-'+answer[i]['id']).render('nested-'+answer[i]['id']);
But when i changed data in first grid - they reload store and remove my nestedGrid from changed row. I understand that this is necessary, but when i try to render element again:
Ext.getCmp('innerGridPanel-'+answer[i]['id']).render('nested-'+answer[i]['id']);
I do not have any errors, but element does not render:(
Please, give me some ideas.
Thank you.
P.S. I destroy all nestedGrid's and their store after work.
First of all, sorry for my bad English.
I have a grid.Panel with rowExpander plugin, that has property:
rowBodyTpl: '<div id="nested-{id}"></div>'
and
After this grid rendered i create new grid for every nested-{id} with another store.
Ext.getCmp('innerGridPanel-'+answer[i]['id']).render('nested-'+answer[i]['id']);
But when i changed data in first grid - they reload store and remove my nestedGrid from changed row. I understand that this is necessary, but when i try to render element again:
Ext.getCmp('innerGridPanel-'+answer[i]['id']).render('nested-'+answer[i]['id']);
I do not have any errors, but element does not render:(
Please, give me some ideas.
Thank you.
P.S. I destroy all nestedGrid's and their store after work.