I am new to webix and trying to build an interface where there are multiple grouplists synched to a single treetable to get data. When I have 1 grouplist, everything works as expected - I can open/close groups in both the tree and grouplist interfaces, with 2 group lists I can/open close groups in the lists but not in the treetable, and with 3 group lists UI hangs up for all widgets.
Any thoughts why this is happening, and is there a better way to do this?
Here is the UI for reference: 2017-03-20_0249
Sych code as follows:
$$('feb17list').data.sync($$('maintree'),function(){
this.filter(function(data){
var d = new Date(data.date);
return (d.getFullYear() == 2017 && d.getMonth() == 1);
});
});
$$('mar17list').data.sync($$('maintree'),function(){
this.filter(function(data){
var d = new Date(data.date);
return (d.getFullYear() == 2017 && d.getMonth() == 2);
});
});
$$('apr17list').data.sync($$('maintree'),function(){
this.filter(function(data){
var d = new Date(data.date);
return (d.getFullYear() == 2017 && d.getMonth() == 3);
});
});