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?
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?