value

sets the initial value for a multicombo

number|string|array value;

Example

{
      view:"multicombo", 
      value:"1,2",
      options:[
          { id:"1", value:"One" },
          { id:"2", value:"Two" }
      ]
}

Related samples

Details

Value formats in Multicombo control:

  • number
{
      view:"multicombo", 
      value:1,
      options:[
          { id:"1", value:"One" },
          { id:"2", value:"Two" }
      ]
}
  • string
{
      view:"multicombo", 
      value:"1,2",
      options:[
          { id:"1", value:"One" },
          { id:"2", value:"Two" }
      ]
}
  • array
{
      view:"multicombo", 
      value:["1","2"], // or [1,2]
      options:[
          { id:"1", value:"One" },
          { id:"2", value:"Two" }
      ]
}
See also
Back to top