ferr
16 Nov 2007, 8:59 AM
I added a combo box to the paging toolbar of my grid, but I can't figure out how to add an on select handler to it. There does not seem to be an equivalent to the Form method of findField where I might do something like mypagingtoolbar.findField('mycombobox').on('select...etc.
How should I go about doing this? Is there an obscure config option I can set for the combo box? paging.add returns void but paging.addField (which is compatible with my combo box needs) return Ext.ToolbarItem.. I don't see any way in the API, but maybe there is something I can do with the returned object to add the event handler?
How should I go about doing this? Is there an obscure config option I can set for the combo box? paging.add returns void but paging.addField (which is compatible with my combo box needs) return Ext.ToolbarItem.. I don't see any way in the API, but maybe there is something I can do with the returned object to add the event handler?