Hi,
I seem to notice that when I close a tab with a grid (with record components) that the record components are not all destroyed. Is this a correct observation?
Adding the code below to my custom grid class, solved it for me:
I seem to notice that when I close a tab with a grid (with record components) that the record components are not all destroyed. Is this a correct observation?
Adding the code below to my custom grid class, solved it for me:
Code:
destroy: function() {
var i, components;
this.Super('destroy', arguments);
components = this.getRecordComponentPool();
if (components) {
for (i = 0; i < components.length; i++) {
components[i].destroy();
}
}
},
Comment