I saw in datable has
view: "datatable",
$sort: { by: "value", dir: "asc"}
I saw in datable has
view: "datatable",
$sort: { by: "value", dir: "asc"}
Ok I got it.
this.assigned_combo = this.form.elements.assigned;
this.assigned_optoins = new webix.DataCollection({
url: "/api/test",
scheme: {
$sort: {
by: "value",
dir: "asc",
as: "string"
}
}
});
this.assigned_combo.getList().clearAll();
this.assigned_combo.getList().parse(this.assigned_optoins);
{
view: "multiselect",
name: "status",
options: {
body: {
scheme: {
$sort: {
by: "value",
dir: "asc",
as: "string"
}
},
url: "api/test""
}
},
placeholder: "Status",
width: 200
}