Loading from URL, JavaScript Programming Example of Loading from URL

Loading from URL, JavaScript Programming Example of Loading from URL

Get the programming example for loading rom URL in Pivot widget. The piece of code below allows loading data from URL easily. Feel free to use our free programming examples.

JS Code

webix.ui({
  id:"pivot",
  view:"pivot",
  max: true,
  structure: {
    rows: ["form", "name"],
    columns: ["year"],
    values: [{ name:"gdp", operation:"sum"}, { name:"oil", operation:"sum"}],
    filters:[{name: "name", type: "select"}]
  },
  url:"//docs.webix.com/samples/61_pivot/common/data.json"
});