1. #1
    Sencha Premium Member
    Join Date
    Sep 2010
    Posts
    89
    Vote Rating
    0
    xun is an unknown quantity at this point

      0  

    Default Capture CheckboxColumn event in a selection model

    Capture CheckboxColumn event in a selection model


    in checkboxcolumn, a event checkChange is fired whenever the checkbox cell is clicked, i wonder how i can capture that in a selection model? thanks

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2010
    Posts
    89
    Vote Rating
    0
    xun is an unknown quantity at this point

      0  

    Default


    Follow up on the previous question, when a checkColumn is added, the click event is not automatically captured by the view's cellclick or itemclick event, so would you please provide a solution? thanks

  3. #3
    Sencha Premium Member
    Join Date
    Sep 2010
    Posts
    89
    Vote Rating
    0
    xun is an unknown quantity at this point

      0  

    Default


    find it.

    bindComponent: function (view) {
    var me = this;
    ...
    Ext.each(headerCt.gridDataColumns, function (col, idx) {
    if (col.xtype && col.xtype == 'checkcolumn') {
    col.colIdx = idx;
    col.on('checkchange', me.checkchange, me);
    }
    }, this);




    },

Tags for this Thread