richard.hallier
1 Jul 2008, 1:43 AM
Hi all,
I have 2 questions about combobox :
- What is the goal of the valueField attribute ? It seems useless for now
Imagine a combobox with a store of ModelData and the ModelData contains an "id" property. What is the best solution to set the value of the combobox based on an "id" value ? Have I to manually list store models to find the model matching the pk value, then use a setValue(ModelData) ?
Thank you.
I have 2 questions about combobox :
- What is the goal of the valueField attribute ? It seems useless for now
Imagine a combobox with a store of ModelData and the ModelData contains an "id" property. What is the best solution to set the value of the combobox based on an "id" value ? Have I to manually list store models to find the model matching the pk value, then use a setValue(ModelData) ?
Thank you.