Threaded View

  1. #1
    Sencha User
    Join Date
    Apr 2010
    Vote Rating
    Oliver Specht is on a distinguished road


    Default Answered: view.selModel is undefined with locked column

    Answered: view.selModel is undefined with locked column

    I am trying to implement a locking column in a grid but get an error in FF:

    TypeError: view.selModel is undefined
    When debugging, I can see that the error comes up in Ext.grid.plugin.Editing and view does contain two more views with selection models set: normalView and lockedView.

    I tried the examples and they work fine, so I wonder where this comes from. I simply set the first column to locked:true and the others to locked:false

    The grid looks like this:

    Ext.define('My.grid.Panel', {
        extend : 'Ext.grid.Panel',
        alias : 'my.grid.panel',
        autoHeight : true,
        selModel : Ext.create('Ext.selection.RowModel', {
            singleSelect : true
        resizable : false,
        frame : false,
        plugins : [ {
            ptype : 'rowediting',
            clicksToEdit : 2,
            pluginId : 'rowediting',
            listeners : {
                canceledit : function(editor, e, eOpts) {
        } ],
        tbar : [ {
            text : 'Add'
        } ],
        listeners : {
            activate : function(grid) {
        viewConfig : {
            stripeRows : true
    Can anyone give me a hint what I am doing wrong?

    I am working with ExtJS 4.1.1a, so maybe it is just a version too early?

    Thank you,

  2. I'm not getting that error when I lock a column in the row-editing example.

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