You can create Pivot as a Webix view or as a standalone Jet app. Both ways will lead to the same result.
webix.ready(function() {
// use custom scrolls, optional
if (webix.env.mobile) webix.ui.fullScreen();
webix.CustomScroll.init();
webix.ui({
view: "pivot",
url: "https://docs.webix.com/pivot-backend/",
structure: {
rows: ["form", "name"],
columns: ["year"],
values: [{ name: "oil", operation: ["min", "sum"] }],
}
});
});
Related sample: Pivot: Webix View Initialization
webix.ready(function() {
// use custom scrolls, optional
if (webix.env.mobile) webix.ui.fullScreen();
webix.CustomScroll.init();
const app = new pivot.App({
url: "https://docs.webix.com/pivot-backend/".
structure: {
rows: ["form", "name"],
columns: ["year"],
values: [{ name: "oil", operation: ["min", "sum"] }],
},
});
app.render(document.body);
});
Related sample: Pivot: JetApp Initialization
Back to top