Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Set a default value in igcombo dropdown

Selected items is not setting the value by default.

here is my code.

width: 300,
dataSource: country,
textKey: "Name",
valueKey: "Name",
multiSelection: {
enabled: true,
showCheckboxes: true
dropDownOrientation: "bottom",
autoComplete: true,
  • 40
    Offline posted

    Hello Yui Chan,

    Thank you for contacting us.

    I am sending you a link where I have made an  example on jsfiddle based on your requirement. There you can see how to set  items to be selected with initialSelectedItems option on combo initialization. In addition, you can initialize the combo with default selected items with the valueindex and select methods.

    Let me know if you have any further questions.