Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Aug 2009
    Posts
    42
    Vote Rating
    0
    fguest is on a distinguished road

      0  

    Default [Ext 4 Beta1] click not working in Tree

    [Ext 4 Beta1] click not working in Tree


    click not working in Tree:

    HTML Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
      <title>bug</title>
      <link rel="stylesheet" type="text/css" href="http://dev.sencha.com/deploy/ext-4.0-beta1/resources/css/ext-all.css"/>
      <script type="text/javascript" src="http://dev.sencha.com/deploy/ext-4.0-beta1/bootstrap.js"></script>
    </head>
    <body>
    <div id="tree-div"></div>
    <script type="text/javascript">
      Ext.onReady(function() {
        var g = Ext.create('Ext.tree.TreePanel', {
          renderTo: Ext.getBody(),
          store: new Ext.data.TreeStore({
            root: {
              expanded: true,
              children: [
                {text:'c1', leaf: true},
                {text:'c2', leaf: true}
              ]
            }
          }),
          listeners: {
            click: function(a, b) {
              alert('click!');
            }
          }
        });
      });
    </script>
    </body>
    </html>

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,626
    Vote Rating
    581
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Use itemclick.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User
    Join Date
    Aug 2009
    Posts
    42
    Vote Rating
    0
    fguest is on a distinguished road

      0  

    Default


    Quote Originally Posted by evant View Post
    Use itemclick.
    itemclick not working in Tree

    Code:
          
          listeners: {
            itemclick: function(a, b) {
              alert('click!');
            }
          }

  4. #4
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,656
    Vote Rating
    6
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    it's a bug - see this thread for temporary solution:
    http://www.sencha.com/forum/showthre...-AsyncTreeNode
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

Similar Threads

  1. Replies: 2
    Last Post: 14 Apr 2011, 12:03 PM
  2. tree node on click not working
    By smdvq in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 15 Mar 2010, 8:35 AM
  3. Replies: 4
    Last Post: 30 Sep 2009, 6:32 PM

Thread Participants: 2