PDA

View Full Version : Pivot grid column alignment issue



raj_plays
25 Feb 2011, 12:23 AM
Hi,
My Pivot grid's columns do not align with their column headers.(attached image)
24856
Can anyone please help?


StatisticsListingGrid = new Ext.grid.PivotGrid({
store : statisticsDataStore,
measure: 'duration',
aggregator: 'sum',
columnLines : true,
topAxis: [{dataIndex: 'day', direction: 'ASC'}],
leftAxis: [{dataIndex: 'hour', direction: 'DESC', width: 30}],
viewConfig:{
getCellCls: function(value){
if(value == 0)
return 'cell-green';
else if(value < 60)
return 'cell-pink';
else
return 'cell-orange';
}
},
loadMask: {msg: 'Loading data ...'},
width: 660,
height: 550,
renderTo: 'statistics-grid'
});