Hi Webix,
We are trying to implement a Gantt chart in 365 SharePoint. We have no control of the server side provision of data and will be using SharePoint _api to provide JSON that we will then alter the data and feed it to Webix via object/array. It’s notable that we also don’t control the “chrome” on the page, so we want to be able to inject the widget into a predefined div.
When we use the following code, we are able to get the Gantt chart working perfectly, but are not able to specify the destination on the page (eg: #placemat):
webix.ui({
view: “gantt”,
id: “gantt1”,
url: “https://docs.webix.com/gantt-backend/”,
override: new Map([[gantt.services.Backend, MyBackend]]),
});
Alternately, when we use the following code, we are able to specify the destination for the widget, but only the Gantt headers appear. The data doesn’t seem to bind:
let app = new gantt.App({
id: “gantt1”,
url: “https://docs.webix.com/gantt-backend/”,
override: new Map([[gantt.services.Backend, MyBackend]])
});
app.render(document.querySelector("#placemat"));
What is the best way forward? Is override available to Jet apps? Or are Views able to be contained within a specified element? Or is there some other magic available?
Thank you. Looking forward to getting past this and using the product in our environment.