PDA

View Full Version : Ext.grid.RowEditor.showToolTip bug!?



timTaylor
25 May 2012, 7:28 AM
hi, i'm using extjs 4.0.7

I do have a Ext.grid.plugin.RowEditing inside a Ext.tree.Panel.
On start editing a row, the function Ext.grid.RowEditor.showToolTip() crashes.



showToolTip : function()
{
var me = this,
tip = me.getToolTip(),
context = me.context,
row = Ext.get(context.row),
viewEl = context.grid.view.el;

console.log('context',context);


traces



colIdx: 0
column: Ext.Class.newClass
field: "text"
grid: Ext.Class.newClass
record: Ext.Class.newClass
row: undefined
rowIdx: undefined
store: Ext.Class.newClass
value: ""
view: Ext.Class.newClass
__proto__: Object



As you can see, row is undefined!?? Without knowing the row, the function crashes of course.
So I've found the problem but I'dont have an idea of what I could do to get around this.
Please help ...

mitchellsimoens
7 Jun 2012, 11:52 AM
RowEditing plugin isn't said to be supported in a tree panel.