I’ve got a data table defined as follows:
dtable = new webix.ui({
container:“mygrid”,
view:“datatable”,
select:“cell”,
editable:true,
columns:[
{ id:“Name”, header: [“Name”, {content:“multiSelectFilter”}], sort: “string”, editor: “text”},
{ id:“column1”, header: [“Result 1”, {content:“multiSelectFilter”}], sort: “string”, editor: “text”},
{ id:“column2”, header: [“Result 2”, {content:“multiSelectFilter”}], sort: “string”, editor: “text”},
{ id:“column3”, header: [“Result 3”, {content:“multiSelectFilter”}], sort: “string”, editor: “text”}],
leftSplit: 1,
data: [
{ id: “bed123fb-a870-4b96-88ec-6a2fc92060e4”, Name: “Person 0”, column1: “E5”, column2: “1”, column3: “A”},
{ id: “d06843fd-d08c-4f28-ae5f-97ca47ad4ee4”, Name: “Person 1”},
{ id: “cad7d9cf-5d92-46f5-917f-7f27ad4130dd”, Name: “Person 2”},
{ id: “f7d3342b-4d5a-4ad2-8d3c-740a70c77acf”, Name: “Person 3”, column1: “E6”, column3: “E3”},
{ id: “1162a6e4-a5aa-472f-9388-ed862d1b2130”, Name: “Person 4”},
{ id: “82e5545c-d04c-4f9a-88ed-adea70ccd637”, Name: “Person 5”},
{ id: “0b8027ea-5794-44fa-8c75-caeb399ace44”, Name: “Person 6”, column1: “03”, column2: “01”, column3: “02”},
{ id: “c46f8ce9-33a3-4051-89d4-e67112da1061”, Name: “Person 7”, column1: “E5”},
{ id: “8c053552-bdb0-44a7-a5df-ce1fae9dfbfd”, Name: “Person 8”},
{ id: “d5e46856-b012-46de-9b3c-64bfc67f7e4c”, Name: “Person 9”}]
});
And having problems getting multi select filter to work.
Issue 1:
A load of warning messages appear such as “Non unique view id: $list1”, “Non unique view id: $button1”
Issue 2:
Filtering doesn’t work at all. Even if I change the filter to “selectFilter”, choosing a value empties the grid, and nothing comes back.
Any thoughts/suggestions?!
Thanks!