Results 1 to 5 of 5

Thread: How to add a Ext.Action to a Ext.grid.ActionColumn as a handler?

  1. #1
    Ext JS Premium Member
    Join Date
    Apr 2010
    Posts
    17

    Question How to add a Ext.Action to a Ext.grid.ActionColumn as a handler?

    How to add a Ext.Action to a Ext.grid.ActionColumn as a handler?

  2. #2
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364

    Default

    ActionColumn doesn't use "Actions" from what I understand. You might want to just set the ActionColumn's handler to the Action.handler property.

  3. #3
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    Maybe it should though. It's a bit like a button or a menu item or whatever. I'll take a look at the code. Maybe there's a Feature Request here...

  4. #4
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    What happens if you use an Action as a config instead of a raw object? Looks like it should just use the text, iconCls and handler properties and work.

  5. #5
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364

    Default

    Quote Originally Posted by Animal View Post
    Maybe it should though. It's a bit like a button or a menu item or whatever. I'll take a look at the code. Maybe there's a Feature Request here...
    Agreed.

Similar Threads

  1. Ext.ux.grid.xActionColumn: a (young) replacement for RowActions built on ActionColumn
    By kayakyakr in forum Ext 3.x: User Extensions and Plugins
    Replies: 1
    Last Post: 18 Jan 2011, 2:09 AM
  2. Handler of ActionColumn does not execute
    By zeruyo in forum Ext 3.x: Help & Discussion
    Replies: 10
    Last Post: 9 Nov 2010, 7:59 AM
  3. Replies: 2
    Last Post: 12 Apr 2010, 9:05 AM
  4. Replies: 11
    Last Post: 29 Oct 2008, 8:40 AM
  5. add event 'mousedown' handler to Ext.menu.Item
    By mxu in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 9 Mar 2008, 9:26 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •