Hi,
I have editable treetable where some fields are editable as text, other as dates and I would like to add multiselect popup list for some fields. I can achive this with onBeforeSelect where I find column and change editor for whole column (this.config.columns[n].editor = “popup”;).
Treetable columns contain popup:ApopupA and as ApopupA I make
ApopupA = webix.ui({
view:“popup”,
body: {
view:“multiselect”,
id:“multi”,
label:“Participant”,
options:[
{ id:1, value:“Alex Brown” },
{ id:2, value:“Dan Simons” }
]
}
});
Everything works until I select something. THen suddenly label disappears and when I press"Select" button, nothing happens. Field is not populated with selection.
Is it possible to make custom popup multiselect list with options that will be based on json data?
Screenshots:
-
http://s2.postimg.org/ychinz9jd/pic1.jpg
after cell selction, popup is visible -
http://s21.postimg.org/9y1jk4413/pic2.jpg
after selection, label disappears -
http://s8.postimg.org/ywpfedpph/pic_3.jpg
after select, cell is empty… No erors in console.