-
6 May 2011 6:12 AM #1
How do I populate a ComboBox in an "edit" form?
How do I populate a ComboBox in an "edit" form?
I've got a form that I'm using to edit a user profile that uses two ComboBoxes which get values from two different stores. I create the form window and load pre-existing values into it like so:
This loads all my textfields, but the combo boxes are blank. I don't see in the documentation how to load remote data into a combo box before the user clicks on it. Is this possible?Code:var win = Ext.create('PPKC.view.profile.Edit').show(); var form = win.down('form'); // Load form values from record form.loadRecord(record);
Similar Threads
-
Can combobox listen on "scroll" or "bodyscroll" event?
By rosemondi in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 6 Jan 2011, 12:10 AM -
How do Ext.form.Combo could accepts data begin/end with "<" and/or ">" char ?
By soulgen in forum Ext 3.x: Help & DiscussionReplies: 3Last Post: 14 Dec 2010, 10:22 PM -
Help me How to add "Edit" and "Delete" function with this set of codes.
By martinrey in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 14 Oct 2010, 12:12 AM -
Help me How to add "Edit" and "Delete" function with this set of codes.
By martinrey in forum Ext Designer: Help & DiscussionReplies: 3Last Post: 12 Oct 2010, 7:45 PM


Reply With Quote