Required library edition:
Required library file: dhtmlxgrid_pivot.js
show pivot table based on grid
//minimal parameters set mygrid.makePivot(); //make pivot in the external html container mygrid.makePivot('pivot_container'); //limited field set mygrid.makePivot('pivot_container',{column_list:['Title','Author','Money']}) //predefined set mygrid.makePivot('pivot_container',{action:3,value:1,x:3,y:2}) //predefined set + readonly mygrid.makePivot('pivot_container',{readonly:true,action:3,value:1,x:3,y:2})
See also: hidePivot