Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-9003 in a recent build.
  1. #1
    Sencha Premium Member joshua.ball@osi.com's Avatar
    Join Date
    Nov 2012
    Location
    Sacramento, CA
    Posts
    43
    Vote Rating
    1
    joshua.ball@osi.com is on a distinguished road

      0  

    Default ExtJS 4.1.3 - Possible Bug with Ext.Grid.Panel

    ExtJS 4.1.3 - Possible Bug with Ext.Grid.Panel


    Hello All,

    I've run across a strange behavior with a grid panel that has the MULTI mode enabled in its selection model. This only occurs when making a range selection (Shift+click). Any rows that have been selected prior to the range selection (and are outside of the new range) do not fire a deselect event when the new range selection is made. There is enough logic to remove the "x-grid-row-selected" CSS classes from the table rows that have been deselected, but the event doesn't fire. I've only been able to create this behavior with range selection. Deselecting records one at a time from a selection (Ctrl+click) works as expected.

    I'm using the ext-all-dev version of ExtJS 4.1.3.

    -Josh

    Code:
    new Ext.grid.Panel({
        renderTo  : document.body,
        title     : 'Test',
        store     : {
            fields : ['foo'],
            data   : [
                { foo : 1  },
                { foo : 2  },
                { foo : 3  },
                { foo : 4  },
                { foo : 5  },
                { foo : 6  },
                { foo : 7  },
                { foo : 8  },
                { foo : 9  },
                { foo : 10 }
            ]
        },
        columns   : [
            {
                header    : 'Foo',
                dataIndex : 'foo',
                flex      : 1
            }
        ],
        selModel  : {
            type : 'rowmodel',
            mode : 'MULTI'
        },
        listeners : {
            deselect : function () {
                console.log('deselect');
            }
        }
    });
    Last edited by mitchellsimoens; 7 Mar 2013 at 9:40 AM. Reason: Added testcase to post

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Vote Rating
    751
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha Premium Member joshua.ball@osi.com's Avatar
    Join Date
    Nov 2012
    Location
    Sacramento, CA
    Posts
    43
    Vote Rating
    1
    joshua.ball@osi.com is on a distinguished road

      0  

    Default


    NP; thanks for the quick response!

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar