I am adding multiple grid(cellplugin in each grid) in tab panel and displaying it. however when I click on cell for editing it doesn't display text area.
I have configured editor as text area also.
I tried to debug plugin and found issue(Editing.js) in below code -
startEdit: function(record, columnHeader) {
var me = this,
context,
layoutView = me.grid.lockable ? me.grid : me.view;
// The view must have had a layout to show the editor correctly,
// defer until that time.
// In case a grid's startup code invokes editing immediately.
if (!layoutView.componentLayoutCounter) {
layoutView.on({
boxready: Ext.Function.bind(me.startEdit, me, [record, columnHeader]),
single: true
});
return false;
....
....
}
Issue is componentLayoutCounter have value is 0 because of that if block gets executed and false is returned which stops editing.
My query is how we can ensure that componentLayoutCounter value always set correctly ?
This is a year later, but if anyone hits the bug, here's the solution in an override. It checks whether the layout is initialized as well as the componentLayoutCounter:
});