PDA

View Full Version : PivotGrid: Aggregation section not same height as left axis



evanw
4 Oct 2010, 7:35 AM
I have a basic PivotGrid. Nothing too fancy. The height attribute doesn't seem to be working correctly.

With my height set to 200, the left-axis grid stretches downward correctly, but the middle (aggregation) grid is locked to a fixed height; thus keeping the left-axis from aligning with the data.

Do I need to pass a config object to this center grid? if so, how do I do this?

btw, using:ext-3.3-beta1-6976

Thanks!

Here is my code

var pivotGrid = new Ext.grid.PivotGrid({
title : 'PivotGrid example',
width : 800,
height : 200,
renderTo : Ext.getBody(),
store : myStore,
aggregator: 'count',
measure : 'dollars',
viewConfig: { title: 'Sales Performance' },

leftAxis: [ { width: 80, dataIndex: 'sales_person' }],
topAxis: [ { dataIndex: 'region'} ]
});

Joyfulbob
13 Apr 2011, 11:57 AM
I've got the same issue...25624