1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    101
    Vote Rating
    0
    paulharv is on a distinguished road

      0  

    Default GridPanel.getSelectionModel() returning CellSelectionModel

    GridPanel.getSelectionModel() returning CellSelectionModel


    Hi,

    The docs indicate that Ext.grid.GridPanel.getSelectionModel() should return a RowSelectionModel by default unless the selModel property has been set. However, I am getting a CellSelectionModel by default.

    The docs:
    http://docs.sencha.com/ext-js/3-4/#!...SelectionModel

    My code...

    Code:
    var grid = {
              xtype : 'editorgrid',
              columns : columnModel,
              id : 'myEditorGrid',
              store : remoteJsonStore,
              loadMask : true,
              bbar : pagingToolbar,
              stripeRows : true,
              viewConfig : {
                forceFit : true
              }
         }
    };
    new Ext.Window({
              height : 350,
              width : 550,
              border : false,
              layout : 'fit',
              items : grid
    }).show();

  2. #2
    Sencha User
    Join Date
    May 2010
    Location
    Kiev, Ukraine
    Posts
    134
    Vote Rating
    7
    khmurach is on a distinguished road

      0  

    Default


    xtype: 'editorgrid' is a Ext.grid.EditorGridPanel, not Ext.grid.GridPanel.
    Ext.grid.EditorGridPanel has CellSelectionModel by default.
    Vitaliy Khmurach
    Web Developer
    http://ext4all.com

Thread Participants: 1

Tags for this Thread

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