datatable

configuration of the inner Pivot grid

object datatable;

Example

webix.ui({
  view:"pivot",
  datatable:{
    rowHeight:27,
    rowLineHeight:27,
    headerRowHeight:27,
    scheme:{
      $init:function(obj){
        obj.name = obj.name + " (a)"
      }
    }
  },
  structure: {
    rows: ["form", "name"], 
    columns: ["year"],
    values: [
      { name:"oil", operation:["min","sum"]}
    ],
    filters:[
      {name: "name", type: "select"}
    ]
  },
  data:pivot_data
});

Related samples

Details

The datatable object may contain properties of the Datatable widget. The datatable scheme can be used to pre-process the aggregated data.

Back to top