1. #1
    Ext JS Premium Member
    Join Date
    Sep 2008
    Posts
    62
    Vote Rating
    0
    info@ferraresegroup.com is on a distinguished road

      0  

    Default Extjs 4.0 - tree.Panel 'selectionChange' work on twice click

    Extjs 4.0 - tree.Panel 'selectionChange' work on twice click


    Hi all,
    i'm testing new ExtJs 4.0 with a tree.Panel on 'selectionchange' listeners.
    When first item/node clicked it's work, next item/node at one click respond: "records[0] is undefined".
    Click another time and it's work.
    What's the problem?

    Code:
    listeners: {
    'selectionchange': function(model, records) {
    alert(records[0].get('name'));
    }

  2. #2
    Ext JS Premium Member
    Join Date
    Sep 2008
    Posts
    62
    Vote Rating
    0
    info@ferraresegroup.com is on a distinguished road

      0  

    Default


    multiSelect MUST BE true!

Similar Threads

  1. Extjs tree :Enableing click and double click event togrther
    By 2manish3 in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 30 Apr 2012, 7:32 PM
  2. Event Click dont work in Panel
    By Rafael in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 11 Jan 2009, 9:38 AM
  3. Selenium's click() not work with Extjs validation
    By GeeTee in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 9 Dec 2008, 1:34 PM
  4. Tree panel click to autogrid render in Tab panel
    By dyerrington in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 3 Oct 2008, 6:26 PM

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