-
3 Mar 2007 8:13 PM #1
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.
This returns "undefined", even though there are items found.Code:var ds = Ext.select("some-class"); alert(ds.length);
-
3 Mar 2007 11:00 PM #2
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
-
CompositeElement help, I know there is an easier way
By walden in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 12 Jan 2007, 5:53 AM -
test
By jack.slocum in forum Community DiscussionReplies: 0Last Post: 14 Nov 2006, 3:56 PM -
test
By jack.slocum in forum Community DiscussionReplies: 0Last Post: 14 Nov 2006, 3:42 PM -
Test topic
By jack.slocum in forum Community DiscussionReplies: 0Last Post: 14 Nov 2006, 3:25 PM -
test
By jack.slocum in forum Community DiscussionReplies: 0Last Post: 14 Nov 2006, 3:25 PM


Reply With Quote