May 09, 2011, 8:49 AM
[CLOSED] Combobox: How to remove the duplicate items in the combobox?
Hi,
I have a Combobox, and it bind a store,
--
ID Name
1 A
1 A
1 A
2 B
2 B
3 C
--
Is there some simple way to remove the duplicate items?
And then the result is:
--
ID Name
1 A
2 B
3 C
--
Please don't remove them in the Store, because the duplicate items in the store is necessary for other GridPanel
Thanks.
I have a Combobox, and it bind a store,
<ext:Combobox StoreID="Store1" DisplayField="Name" ValueField="Id" ID=Combobox1" runat="server>
</ext:Combobox>
Now, there are some duplicate items in the combobox, --
ID Name
1 A
1 A
1 A
2 B
2 B
3 C
--
Is there some simple way to remove the duplicate items?
And then the result is:
--
ID Name
1 A
2 B
3 C
--
Please don't remove them in the Store, because the duplicate items in the store is necessary for other GridPanel
Thanks.
Last edited by Daniil; May 17, 2011 at 1:53 PM.
Reason: [CLOSED]