Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    MultiComboBoxItem setting multiple values - using setValue

    Dear Team,

    We are using SC 11.0p

    I have a requirement to set multiple values to MultiComboBoxItem - multiple to true
    Please suggest how to do this.

    I was searching for a method setValues for multiple values setting.

    Hope for your quick TAT.

    Thanks and Regards.

    #2
    There is indeed a setValues() that takes variable numbers of arguments, and it is documented.

    Comment


      #3
      I dont see such method in the below link

      https://www.smartclient.com/smartcli...tiComboBoxItem

      Comment


        #4
        Sorry, in SmartGWT there is a separate setValues() API. In SmartClient you simply pass an Array to setValue().

        Note that the fact that multiple:true fields have Array values is covered throughout the documentation, eg, dataSourceField.multiple, selectItem.multiple, etc.

        Comment


          #5
          okay thanks, It worked.

          Comment

          Working...
          X