1. #1
    Touch Premium Member
    Join Date
    Jul 2011
    Location
    Cuernavaca, Mexico
    Posts
    53
    Vote Rating
    1
    ErnestoR is on a distinguished road

      0  

    Default overItemCls not applying

    overItemCls not applying


    Hello
    I have created a dataView and Designer genereted this code:

    Code:
    Ext.define('ER.view.ui.MyView1', {
        extend: 'Ext.view.View',
    
        id: 'navGiros',
        itemCls: 'navGiro-list',
        itemSelector: '.navGiro-list-item',
        overItemCls: 'navGiro-list-item-hover',
        store: 'navGiros',
    
        initComponent: function() {
            var me = this;
    
            Ext.applyIf(me, {
                tpl: [
                    '<tpl for=".">',
                    '<div class="navGiro-list-item">',
                    '{menuItem}',
                    '</div>',
                    '</tpl>'
                ]
            });
    
            me.callParent(arguments);
        }
    
    });
    The problem is that the overItemCls is not being applied to the tpl items.
    -->

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,198
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Hrm, the code looks correct without running it.

    Do you have more than one instances of this view? I notice that you have an id which could cause a collision.
    Aaron Conran
    @aconran
    Sencha Architect Development Team
    -->

  3. #3
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,198
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Bump; you get this working?
    Aaron Conran
    @aconran
    Sencha Architect Development Team
    -->

  4. #4
    Touch Premium Member
    Join Date
    Jul 2011
    Location
    Cuernavaca, Mexico
    Posts
    53
    Vote Rating
    1
    ErnestoR is on a distinguished road

      0  

    Default


    No not yet...
    Even though I only have one instance of the I removed the id config and the problem still persists.

    I also generated a new project and still doesn`t seem to change the hover class.
    -->

  5. #5
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,198
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Are things like click events etc working?

    Do you have a sample project you'd be willing to share with us to troubleshoot?
    Aaron Conran
    @aconran
    Sencha Architect Development Team
    -->

  6. #6
    Touch Premium Member
    Join Date
    Jul 2011
    Location
    Cuernavaca, Mexico
    Posts
    53
    Vote Rating
    1
    ErnestoR is on a distinguished road

      0  

    Default


    Yeah click events are working and selected class is getting applied but not the hover class

    Heres my project...
    Attached Files
    -->

  7. #7
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,198
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Set the trackOver configuration to true on your DataView.
    Aaron Conran
    @aconran
    Sencha Architect Development Team
    -->

  8. #8
    Touch Premium Member
    Join Date
    Jul 2011
    Location
    Cuernavaca, Mexico
    Posts
    53
    Vote Rating
    1
    ErnestoR is on a distinguished road

      0  

    Default


    Yeah that was it Thanks!!
    -->

Thread Participants: 1

Tags for this Thread

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