View Full Version : [FIXED] [EXTJSIV-1821]Ext.grid.column.Column events not work

29 Apr 2011, 7:59 AM
for examples,

headerclick, headertriggerclick, sortchange

all not work.

listeners:{sortchange:function(){alert();}} <-- no effect when I click on header for the 3 events
(I need sortchange most !)

One more Question,
for the previous releases,
beta1, then beta2, then beta3, so I know there are new releases.
Now it's already version 4.0

The next release is 4.1 ?
Because someone said the discovered bugs will be fixed in the next release.

12 May 2011, 12:48 AM
I think this is more of a documentation bug:
If I understand it correctly these events fire on the _parent_ column/headercontainer.
This works for me to get notified about
var column = grid.query('#columnId')[0];
column.ownerCt.on('sortchange', function(){alert('sortchange2')});

If you have a simple (non locking grid without nested columns) you could also say
grid.headerCt.on('sortchange'), ...)

Either way you get notifications for sort changes for _all_ columns (all siblings to columnId).
You can figure out which columns is affected by looking at the arguments to the event listener.

23 Mar 2012, 4:05 PM
This is fixed now.