-
Sencha User
Answered: what's the best way to load data into form fields?
Hello,
I wonder if the way I want to do this is the best one:
I will create a store and after having loaded it, i will do a myForm.setValue(myStore.data.field);
Is it a right way to do it?
Thanks
-
Best Answer Posted by
Mark Wagoner
You can populate all of the fields within the form at once using form.loadRecord(). You can then get all of the values back again using form.updateRecord() and form.getRecord()
-
Sencha Premium Member
You can populate all of the fields within the form at once using form.loadRecord(). You can then get all of the values back again using form.updateRecord() and form.getRecord()
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules