1. #11
    Sencha User Zerogiven's Avatar
    Join Date
    Mar 2010
    Location
    Linz, Austria
    Posts
    29
    Vote Rating
    1
    Zerogiven is on a distinguished road

      0  

    Default


    Thanks this helped me a lot!

    @Animal: I tried to set a mouseout event too for a node. But if i set tree.body.on('mouseout', this.onTreeMouseout) i get an error in ext-all-debug.js at line 2646 - Undefined value

    The error happens when the mouseout event will fire.

    greetz
    Chris

  2. #12
    Sencha User Zerogiven's Avatar
    Join Date
    Mar 2010
    Location
    Linz, Austria
    Posts
    29
    Vote Rating
    1
    Zerogiven is on a distinguished road

      0  

    Default


    Got it! but no idea why this works:

    I just copied the Mouseover Plugin and made almost the same for a Mouseout Plugin. I just changed the events written in the plugin (mouseover/mouseout). This works!
    However, maybe someone can explain me why? cause i'm not realy understanding why i can't make both events in one plugin..

    greetz
    Chris

  3. #13
    Sencha Premium Member
    Join Date
    Mar 2008
    Location
    San Jose, CA
    Posts
    124
    Vote Rating
    0
    surfyogi is on a distinguished road

      0  

    Default


    Hi, I'm trying to add mouseover/mouseout events to my treenodes.
    Mouseover works fine, however, the mouseout event cannot be triggered.

    Any ideas?

  4. #14
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    87
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    I would do this completely different!

    TreePanel already uses node mouseover and mouseout events, so there is no need to program this yourself.

    Configure your treepanel with trackMouseOver:true and override TreeNodeUI onOver and onOut to fire mouseover and mouseout events on the node.

  5. #15
    Sencha Premium Member
    Join Date
    Mar 2008
    Location
    San Jose, CA
    Posts
    124
    Vote Rating
    0
    surfyogi is on a distinguished road

      0  

    Default


    Hi Condor, thank you for the response. I completely customized the tree, e.g. use different icons and styles for the tree node. I added trackMouseOver:true, but nothing happens when mouse over/out.
    How to add more than one plugins in the config??
    Thanks,

  6. #16
    Sencha Premium Member
    Join Date
    Mar 2008
    Location
    San Jose, CA
    Posts
    124
    Vote Rating
    0
    surfyogi is on a distinguished road

      0  

    Default


    Hi Zerogiven, did you just copy mouseover code and then change over->out? I did the exact as you did, but mouseout plugin doesn't work at all.

  7. #17
    Sencha Premium Member
    Join Date
    Mar 2008
    Location
    San Jose, CA
    Posts
    124
    Vote Rating
    0
    surfyogi is on a distinguished road

      0  

    Default


    how to oeverride onover and onout? I did not find them in api doc?? also, how to get treenode when mouseover/mouseout? there are mothods for select/click, but did not see over/out in api doc??

  8. #18
    Sencha Premium Member
    Join Date
    Mar 2008
    Location
    San Jose, CA
    Posts
    124
    Vote Rating
    0
    surfyogi is on a distinguished road

      0  

    Default


    ok, I get it working now

  9. #19
    Sencha User
    Join Date
    Jan 2011
    Posts
    5
    Vote Rating
    0
    iavci is on a distinguished road

      0  

    Default


    Hello,
    I'm using both DD and context menu for a tree.
    When you use NodeMouseoverPlugin, context menu works only when you click on the icon of the node and DD works when you click on the link of the node. This is not preferable in my case.

    Configure your treepanel with trackMouseOver:true and override TreeNodeUI onOver and onOut to fire mouseover and mouseout events on the node.
    This is short and simple and solves the problem.

    Code:
    Ext.override(Ext.tree.TreeNodeUI, {
        onOver : function(e) {
            this.addClass('x-tree-node-over');            
            el = e.getTarget();        
            rowPos = Ext.get(el).getXY();
            console.log(this.node.id); 
        }
    });

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..."