You found a bug! We've classified it as EXTJS-8665 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Dec 2012
    Posts
    17
    Vote Rating
    0
    cs0ip is on a distinguished road

      0  

    Default [4.2.0.265] selection.Model undefined focuschange arguments

    [4.2.0.265] selection.Model undefined focuschange arguments


    Browser: firefox 18.0.2

    Test code:
    Code:
    Ext.onReady(function() {
      Ext.create('Ext.container.Viewport', {
        layout: 'border',
        items: [
          {
            region: 'center',
            xtype: 'grid',
            id: 'grid',
            store: Ext.create('Ext.data.Store', {
              fields: [
                {name: 'id', convert: null, defaultValue: undefined},
                {name: 'title', convert: null, defaultValue: undefined}
              ]
            }),
            columns: [
              {
                text: 'ID',
                dataIndex: 'id'
              },
              {
                text: 'Title',
                dataIndex: 'title'
              }
            ],
            listeners: {
              afterrender: function (grid) {
                grid.getSelectionModel().on({
                  focuschange: function (sm, oldFocused, newFocused, eOpts) {
                    console.log('oldFocused = ' + String(oldFocused) + '; newFocused = ' + String(newFocused));
                  }
                });
              }
            }
          },
          {
            region: 'north',
            xtype: 'buttongroup',
            items: [
              {
                text: 'fill grid',
                handler: function () {
                  var grid = Ext.getCmp('grid'), store = grid.getStore();
                  for (var i = 0; i <= 99; i++)
                    store.add({id: i, title: 'title' + i});
                }
              }
            ]
          }
        ]
      });
    });
    Steps to reproduce the problem:
    1) Fill grid
    2) Click on any row
    3) See into the console

    Result:
    oldFocused = undefined; newFocused = undefined

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,798
    Vote Rating
    834
    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.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi