Hello,
Is it possible to change the order of items in the combo dropdown?
For instance initially we have:
Country:
Poland
Germany
Spain
After some user actions (we can consider just press some button) when user open dropdown the order should be:
Is it possible? I have tried to play with ig.DataSource .sort method. But no UI effect. It sort internally but on UI I have same order. May be I should call some refresh or something like this...
Thanks!
Aliaksei
Hello Aliaksei,
I will be happy to assist you with your question.
After you've sorted your data, I recommend calling the DataBind method off of the igCombo. To learn more about this method, please read over the igCombo API linked below:http://help.infragistics.com/jQuery/2014.1/ui.igcombo
I have attached a sample that you can use as reference. Please review the sample and let me know if you have any questions.