checkbox

draws a check box

string checkbox(object obj,object common);

Parameters

objobjectthe data item object
commonobjectthe collection of predefined template functions

Returns

stringthe HTML string

Example

webix.ui({
    view:"tree",
    template:"{common.icon()} {common.checkbox()} {common.folder()} #value#"
});

Related samples

See also
Back to top