I have some project data where each row is: project name, task id, task title, etc
What I am trying to do is an accordian for each project name with a datatable in each accordian with the task information. This have have working but it is only for a single accordian.
What I am really struggling with is how to dynamically repeat that with x accordians.
As alternative you can build UI dynamically, something like following
var projects = [...];
var rows = [];
var taskview = { view:"datatable", ... };
//add a panel for each project
for (var i=0; i<projects.length; i++)
rows.push({ head:"Some", body: webix.copy(taskview) });
//init the resulting UI
webix.ui({ rows:rows })