setValue

определяет элемент(ы), которые должны быть выбраны

void setValue(string|array ids);

Parameters

idsstring|arrayid элементов для выбора

Example

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]); 
 
//или
$$("dbl1").setValue("1,3");

Related samples

See also
Наверх
If you have not checked yet, be sure to visit site of our main product Webix ui widget library and page of lists in javascript product.