The minHeight
property allows you to change the minimum height for the pivot table control. For the pivot table control, the default minimum height is 300px.
var pivotTableObj = new ej.pivotview.PivotView({
dataSourceSettings: {
dataSource: pivotData,
columns: [{ name: 'Year', caption: 'Production Year' }, { name: 'Quarter' }],
values: [{ name: 'Sold', caption: 'Units Sold' }, { name: 'Amount', caption: 'Sold Amount' }],
rows: [{ name: 'Country' }, { name: 'Products' }],
filters: []
},
height: 200
});
pivotTableObj.minHeight = 200;
pivotTableObj.appendTo('#PivotTable');