PDA

View Full Version : Combo with a template issue



hunkybill
22 Jan 2009, 8:11 AM
Hi,

I slightly changed an Ext.form.ComboBox to work with an XTemplate instead of the default. I picked three fields out of my Ext.data.Record and when the Ajax load supplies the data for the store, the combo renders my data through the template nicely. Happy happy.

I have path where I create a record for the store prior to it loading remotely using local data. I add this data to the store by creating a record and I verify the store has the one new record with this data. Now I want to display the combo with the one record. I use combo.setValue('good_data') and sure enough the combo shows the good data. However, the template is not rendered in this case? Is there a way to render the record using the template.

Thanks for any tips...