Skip to content

Instantly share code, notes, and snippets.

@mkozhukh
Created January 19, 2014 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkozhukh/8503293 to your computer and use it in GitHub Desktop.
Save mkozhukh/8503293 to your computer and use it in GitHub Desktop.
Using pager along with Webix Pivot
webix.ready(function(){
var pivot = {
container:"testA",
view:"pivot",
datatable:{
pager:"pivotPager"
},
height:400,
width:1000,
data:pivot_dataset,
max: true,
structure: {
rows: ["form", "name"],
columns: ["year"],
values: [{ name:"gdp", operation:"sum"}, { name:"oil", operation:"sum"}],
filters:[]
}
};
var paging = { view:"pager", id:"pivotPager", size:10, group:5 };
webix.ui({ rows:[ pivot, paging ] });
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment