getValue

returns the ids of the selected items (items of the right list)

string getValue();

Returns

stringthe list of selected items' ids

Example

webix.ui({
    view:"dbllist", 
    id:"dbl1",
    value:"1,2",
    data:[
        {id:"1", value:"Guest"},
        {id:"2", value:"Member"},
        {id:"3", value:"Moderator"},
        {id:"4", value:"Admin"},
        {id:"5", value:"Super Admin"}
    ]
});
 
var values = $$("dbl1").getValue(); // returns "1,2"

Related samples

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix js frameworks and page of lists in javascript product.