Results 1 to 10 of 15

Thread: Ext.ux.grid.RowActions Plugin Updated for Ext 4.0.2

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Sencha User
    Join Date
    Feb 2008
    Vote Rating


    Thank you cking for this fantastic work! I'm using it with 4.1.1a and it seems to be working great so far.

    I had to fiddle around for a while to understand how to make it work in the controller of a MVC app however, so I thought I might share what I came up with. In particular, I wanted the handler to a "group icon click" (i.e. the "groupaction" event) to be in the controller, and not the view.

    First, it seems that in the view, the "callback" argument of the "groupActions" items MUST be defined to something: I set it to "Ext.emptyFn":

    PHP Code:
    // ...
    groupActions: {
    // ...

    Second, in the "init" function of the controller, I do:

    PHP Code:
    '<some_identifier> rowactions':
    groupaction:  function(gridrecordsactiongroupValue) {
    // your handler code here..
    and it works! I hope it might be useful to someone.
    Last edited by cjauvin; 29 Oct 2012 at 12:54 PM. Reason: added user name

Posting Permissions

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