PDA

View Full Version : [FIXED] handler configuration missing for ActionColumn



Mthor
8 Feb 2012, 11:42 AM
how can I add a handler to the actionColumn in a grid? I see no setHandler in the docs for a method. I try to addListener, but not sure what to add. anyone experience this?

aconran
8 Feb 2012, 12:40 PM
Mthor -

I've filed a bug with Sencha Designer 2 to make this an easy process.
http://docs.sencha.com/ext-js/4-0/#!/api/Ext.grid.column.Action

As seen by the Ext 4 docs, you can add individual configurations inside of your ActionColumn to create buttons. They accept icon, tooltip and handler. In the mean time, because an ActionColumn is a standard container you could try to grab a reference to it and invoke the add method on it.