PDA

View Full Version : Roweditor not firing move event



castitas
22 Oct 2012, 11:01 AM
I was using this code


Ext.util.Observable.capture(
Ext.ComponentQuery.query('#bob')[0],
function(e) {
if(!e.match( "mouse") && !e.match( "click") ){
console.info(e);
}
}
);

to look at the events on the row editor, and I noticed that when it was active and I double clicked on a row (eg moved the editor) the move event didn't fire. I stuck a listener on it and it didn't fire, either.
Any idea why?

mitchellsimoens
25 Oct 2012, 6:01 AM
Ext.grid.RowEditor takes care of the repositioning itself so you could either override or extend the RowEditor and hook into the reposition method to fire an event.