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

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