specifies the item(s) that should be selected
ids | string|array | the id (ids) of the items to select |
webix.ui({
view:"dbllist",
id:"dbl1",
data:[
{id:"1", value:"Guest"},
{id:"2", value:"Member"},
{id:"3", value:"Moderator"},
{id:"4", value:"Admin"},
{id:"5", value:"Super Admin"}
]
});
$$("dbl1").setValue([1,3]);
//or
$$("dbl1").setValue("1,3");