Fix another DOMQuery question I think the EXT API document is slightly below it.
I have multiply fields inside my form panel, but there is a need to find the person who got the title title of 'test results'. Does anybody know if Ext does a helpful job to do something like this or me
Using Ext.form. Find the method of formPanel:
Var fieldSets = formPanel.find ('title', 'test results');
Keep in mind that Return Value is an array of items.
A bit more crazy way of using the method of Ext.util.MixedCollection:
var fieldSet = formPanel.items.find (function (item) {return items Examples of: ext.form.FieldSet and item.title == 'test result';});
The return value here is only the first item found.
No comments:
Post a Comment