viewsrc
20 Nov 2011, 4:00 PM
Hi there,
Ext.define('MyController', {
...
this.control({
'myGridView': {
selectionchange: this.someFunction <- WORKS!
viewready: this.selFirstRow
}
})
...
this.selFirstRow: function() {
console.log('this text is never seen...'); <- NEVER GETS FIRED
}
...
})
Am I missing something? Is this a bug in 4.0.7?
It says specifically in the api docs for this event "Fires when the grid view is available (use this for selecting a default row)."
Thanks in advance for any ideas!
Ext.define('MyController', {
...
this.control({
'myGridView': {
selectionchange: this.someFunction <- WORKS!
viewready: this.selFirstRow
}
})
...
this.selFirstRow: function() {
console.log('this text is never seen...'); <- NEVER GETS FIRED
}
...
})
Am I missing something? Is this a bug in 4.0.7?
It says specifically in the api docs for this event "Fires when the grid view is available (use this for selecting a default row)."
Thanks in advance for any ideas!