ComboBox unique values
I have a ComboBox with data coming from a JsonStore.
A sample of data is this:
If I use the column "Fiume" for my ComboBox, I have got 2 entries "Tevere". Is there a way to populate ComboBox and show only unique values?
var datiCombo = [
Thank you very much
Best way is not to return them. Try and set it as the idProperty on the Model... see if that works for strings.
Thanks Mitchell for your answer.
Originally Posted by mitchellsimoens
What do you mean by set it as the idProperty of the mode? Should I access the element and change the list once the page is loaded?
Thank you for your help
Look for the idProperty config. Once again, I haven't used ids that are strings personally.