1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    49
    Vote Rating
    0
    martin is on a distinguished road

      0  

    Default How to test the number of elements in compositeelement?

    How to test the number of elements in compositeelement?


    Looking through the docs, I can't find a way to find the length of a composite element.

    Code:
    var ds = Ext.select("some-class");
    
    alert(ds.length);
    This returns "undefined", even though there are items found.

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    Same as your other thread. A composite is not an array. You can test the elements property length though.

    var len = ds.elements.length;

Similar Threads

  1. CompositeElement help, I know there is an easier way
    By walden in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 12 Jan 2007, 5:53 AM
  2. test
    By jack.slocum in forum Community Discussion
    Replies: 0
    Last Post: 14 Nov 2006, 3:56 PM
  3. test
    By jack.slocum in forum Community Discussion
    Replies: 0
    Last Post: 14 Nov 2006, 3:42 PM
  4. Test topic
    By jack.slocum in forum Community Discussion
    Replies: 0
    Last Post: 14 Nov 2006, 3:25 PM
  5. [FIXED] test
    By jack.slocum in forum Community Discussion
    Replies: 0
    Last Post: 14 Nov 2006, 3:25 PM

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