Results 1 to 2 of 2

Thread: [FIXED]'groupchange' event supplies grid's view not grid

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Oct 2009
    Location
    Portland OR
    Posts
    10

    Default [FIXED]'groupchange' event supplies grid's view not grid

    Hi,
    I set a listener to the 'groupchange' event. The documentation says that it supplies the grid and the groupId as args for this. I don't seem to be getting the actual grid object back though. It looks like I am getting the view back.

    Code:
    ...
    grid.on({
    
        groupchange:function(grid,group){
            var s = grid.getStore();
            ...
        }    
    });
    This is where I get the error that grid.getStore is not a function. Is there something incorrect about this or is the documentation incorrect?

    Thanks.

  2. #2
    Sencha Premium User
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,258

    Default

    It's a bug, the method should pass the grid, not the view. I'll fix it up for the next release.

Similar Threads

  1. Replies: 1
    Last Post: 12 Mar 2010, 4:17 PM
  2. Replies: 9
    Last Post: 17 Jul 2009, 3:43 PM
  3. [FIXED][3.??] Bug with grid view and Filter
    By jthevenoux in forum Ext 3.x: Bugs
    Replies: 3
    Last Post: 8 Jul 2009, 7:42 PM
  4. Grid thumbnail view flowing left to right (custom view) ?
    By marvinhorst in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 20 Apr 2007, 7:00 PM

Posting Permissions

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