View Full Version : PanelHeaderToolbar not firing listeners

16 Nov 2009, 8:59 AM
I'm using jgarcia's PanelHeaderToolbar plugin and it looks fine. I have a textfield and I want to fire the change event but it never does. I tried render and show and blur and none of them will fire. Anyone know why?

var contactPanel = new Ext.Panel({
title: "Contacts",
region: "center",
id: "contactPanel",
cls: "westStyle",
layout: "anchor",
plugins: [
new Ext.plugins.TDGi.PanelHeaderToolbar({
layout: "anchor",
items : [
new Ext.form.TextField({
id: "searchContacts",
name: "searchContacts",
anchor: "100%",
listener: {
change: function(thisField, newValue, oldValue) {
show: function(thisField) {
minSize: 10,
maxSize: bodySize.height,
items: ContactsGrid

also tried:

Ext.getCmp("searchContacts").on("render", function(thisField) {

Anyone know how to get the change event to fire?