1. #1
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default SingleSelectCheckColumn

    SingleSelectCheckColumn


    SingleSelectCheckColumn is a CheckColumn extension that only allows one row to be checked at a time (so it behaves like a radiogroup).
    Code:
    Ext.ux.grid.SingleSelectCheckColumn = Ext.extend(Ext.ux.grid.CheckColumn, {
        onMouseDown : function(e, t){
            if(Ext.fly(t).hasClass('x-grid3-cc-'+this.id)){
                e.stopEvent();
                var index = this.grid.getView().findRowIndex(t),
                    dataIndex = this.dataIndex;
                this.grid.store.each(function(record, i){
                	var value = (i == index);
                	if(value != record.get(dataIndex)){
                	    record.set(dataIndex, value);
                	}
                });
            }
        }
    });

  2. #2
    Ext User
    Join Date
    Nov 2007
    Posts
    7
    Vote Rating
    0
    aeonmedia is on a distinguished road

      0  

    Default


    Quote Originally Posted by Condor View Post
    Code:
    Ext.ux.SingleSelectCheckColumn = Ext.extend(Ext.ux.CheckColumn, {
    @fix
    Code:
    Ext.ux.SingleSelectCheckColumn = Ext.extend(Ext.ux.grid.CheckColumn, {

  3. #3
    Sencha User
    Join Date
    Apr 2011
    Posts
    2
    Vote Rating
    0
    dreameyes is on a distinguished road

      0  

    Default


    Hi guys, i was trying to use this plugin but when i go on my component in my application i've back this :

    Cls is not a constructor
    c = new Cls(c);

    To use this item i did a script with ns and reg and i called the sscc with the reg name into my xtype.
    I found on web that this error can be caused from an unfair framework's version (atm i'm using 3.3.0).

Thread Participants: 2

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