PDA

View Full Version : Problem with RowEditor plugin in dynamic GridPanel



ccasasola
7 Oct 2014, 4:06 PM
I've a dynamic gridpanel with RowEditor plugin. The columns and the data is dynamically constructed.

For this reason the RowEditor plugin is constantly created. This is code:



this.myGridObject.reconfigure(this.myStore, this.columnModel);
this.myEditorObject.init(this.myGridObject);
this.myGridObject.plugins.pop();
this.myGridObject.plugins.push(this.myEditorObject);


The first time in that RowEditor plugin is used work fine but when I reload the gridpanel and I try to edit looks like this:

50593

The RowEditor plugin looks as overlapped. The new data is over old data. Apparently I need to clean the RowEditor object but I don't know how...

Anyone have a idea?

slemmon
14 Oct 2014, 2:48 AM
Hi,

If you can post a test case that demonstrates the issue we can test along with you. You can post it here inline or at https://fiddle.sencha.com.

Also, what version of ExtJS are you working with?