1. #1
    Ext JS Premium Member
    Join Date
    Mar 2011
    Posts
    33
    Vote Rating
    0
    EmCy90 is on a distinguished road

      0  

    Default Unanswered: Change selection only on specific column

    Unanswered: Change selection only on specific column


    Lets say we have a grid panel with column A and column B. What i want to do is the selection to be changed only when the user selects the part of the row that is under column A. Is this possible ?

  2. #2
    Sencha User Arg0n's Avatar
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    122
    Answers
    12
    Vote Rating
    16
    Arg0n will become famous soon enough Arg0n will become famous soon enough

      0  

    Default


    It is:

    Code:
    getTargetFromEvent: function(event) {
            var me = this,
                view = me.view;
    
    
            var cell = event.getTarget(view.cellSelector);
    
    
            if (this.targetCell !== cell) {
                view.fireEvent('cellchange', this.targetCell, cell, event);
                this.targetCell = cell;
            }
    
    
            if (cell) {
    
    
                var row = view.findItemByChild(cell),
                    columnIndex = cell.cellIndex;
    
    
                if (row && Ext.isDefined(columnIndex)) {
    
    
                    return {
                        node: cell,
                        record: view.getRecord(row),
                        fieldName: me.columns[columnIndex].dataIndex
                    };
                }
            }
        },

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