Hi,
first item is getting selected in the below cases.( Mode:2 and selectedItems is NULL). I dont want to select the first item
$.ig.loader("igCombo", function () { ele.igCombo("destroy").igCombo({ autoComplete: true, multiSelection: 2, enableActiveItem: true, mode: 2, selectedItems: null, textKey: "Value", height: "20px", valueKey: "Key", dataSource: ds, enableClearButton: false, dropDownOnFocus: true, });
Hi, Gurusamy.
I'm checking if you need some more help with this case. Looking forward for your answer.
Best regards,
Nikolay Alipiev
Thank you for using our products and I hope that my post will help you.
Your combo mode is set to 2, which means read-only list. This means that you cannot select items from the combo list and that's why the combo sets the first item by default. If you change the mode to 0 or 1 (editable or dropdown), then no item is selected by default. You can try if this option will fit your case.
i tried that option too. but it didnt work.
thanks,
guru
Hi Gurusamy,
try this one like option for the selected items:
selectedItems: [],
Thanks,