I have list of check box as:
test1
test2
test3
is it possible to get all the checkbox having name “abcd_xyz_2_*” thru extjs.
so that i can make them checked or unchecked
THanks All
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you know the exact names of the fields you want to check then you can do so with a single call to the containing form’s setValues method.
Assuming the checkboxes are in an Ext.form.FormPanel instance named ‘form’:
If you still need to set by ID prefix then you can do something like:
To manipulate generic checkbox elements in the page which are not contained in any ExtJS panels you can use Ext.query: