View Full Version : [OPEN-1222][3.3 beta2] Pivot leftAxis does not render correctly

13 Aug 2010, 8:07 AM
Please see the image (attachment) and this code below to reproduce the problem.

1. Using border layout
2. Using the code below

then we get display problem with leftAxis. Any idea how to solve the problem, please? thx.

var grid = Ext.extend(Ext.grid.PivotGrid, {
initComponent: function () {
var Record = Ext.data.Record.create([{
name: 'crname',
type: 'string'
name: 'crp_raw',
type: 'string'
name: 'crqlt_raw',
type: 'string'
name: 'crtqty_raw',
type: 'int'
name: 'crtpercent',
type: 'int'
var store = new Ext.data.Store({
url: 'simple.json',
reader: new Ext.data.JsonReader({
totalProperty: 'total',
idProperty: 'id',
root: 'data'
}, Record)
var config = {
viewConfig: {
title: 'Performance'
store: store,
aggregator: 'sum',
measure: 'crtpercent',
leftAxis: [{
width: 25,
dataIndex: 'crp_raw'
width: 100,
dataIndex: 'crname'
topAxis: [{
dataIndex: 'crqlt_raw'
Ext.apply(this, Ext.apply(this.initialConfig, config));
grid.superclass.initComponent.apply(this, arguments);
onRender: function () {
grid.superclass.onRender.apply(this, arguments);
Ext.reg('test_pivot', grid);


19 Aug 2010, 11:21 AM
I am getting the same error. I am putting this information in a tab in a borderlayout center panel. I can't seem to be able to set the left access item height.

19 Aug 2010, 11:26 AM
I know this is marked Solved, but how is it solved and what happened to correct it?

19 Aug 2010, 8:34 PM
I know this is marked Solved, but how is it solved and what happened to correct it?

put this DOCTYPE in your page.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

20 Aug 2010, 5:57 AM
You sir, are a scholar and a gentleman! Worked like a charm.

Jamie Avins
23 Aug 2010, 8:26 AM
Opened this item, there should not be a doctype dependency.

29 Oct 2010, 12:42 PM
This doesn't look like it's been addressed in 3.3.0. I'm in a situation where I can't modify the DOCTYPE -- are there any other options?

16 Nov 2010, 1:06 AM
Hi all,

I also have this problem. Is there any news?

5 Jan 2011, 2:00 PM
I'm using 3.3.1 and have this problem, even with the DOCTYPE fix mentioned above (http://www.sencha.com/forum/showthread.php?107092-OPEN-1222-3.3-beta2-Pivot-leftAxis-does-not-render-correctly&p=503604#post503604).