Results 1 to 5 of 5

Thread: PivotGrid with double header witdh in IE6

  1. #1
    Ext User
    Join Date
    Oct 2008
    Location
    Berlin (Germany)
    Posts
    6

    Question PivotGrid with double header witdh in IE6

    Hi all,

    i have a problem with the PivotGrid in IE6.
    In IE 6 the header over the left axis has a double with. Have you an idea???

    Greetings
    Mario

  2. #2

  3. #3
    Ext User
    Join Date
    Oct 2008
    Location
    Berlin (Germany)
    Posts
    6

    Default

    Quote Originally Posted by mankz View Post
    Post your code
    Here my code:

    PHP Code:
    var pivotGrid = new Ext.grid.PivotGrid({
            
    title     'PivotGrid example',
            
    width     500,
            
    height    200,
            
    renderTo  'pivot',
            
    store     myStore,
            
    measure   'value',
            
    viewConfig: {
                
    title:  'Sales Performance'
            
    },

            
    leftAxis: [
                {
                    
    width80,
                    
    dataIndex'person'
                
    },
                {
                    
    width90,
                    
    dataIndex'product'
                
    }
            ],

            
    topAxis: [
                {
                    
    dataIndex'year'
                
    },
                {
                    
    dataIndex'city'
                
    }
            ]
        }); 

  4. #4
    Sencha User usczeus's Avatar
    Join Date
    Dec 2010
    Location
    Pasadena, CA
    Posts
    7

    Question

    I am also getting an error with the pivotgrid code out of the box. I get 2 of 3 of my top axis shifted to the right.
    Attached Images Attached Images

  5. #5
    Sencha User usczeus's Avatar
    Join Date
    Dec 2010
    Location
    Pasadena, CA
    Posts
    7

    Default Think I fixed.

    What I found is that IE6 interprets floats weird. I modified ext-all.js in the section

    initTemplates:function(){var c=this.templates||{},d,b,g=new Ext.Template( .......

    From
    Code:
    <div class="x-grid3-header-inner">',
                    '<div class="x-grid3-header-offset" style="{ostyle}"></div>',
    "</div>",
    To

    Code:
    '<div style="float:left;"><div class="x-grid3-header-inner" style="float:none;">',
                    '<div class="x-grid3-header-offset" style="{ostyle}"></div>',
    "</div></div>",

Similar Threads

  1. grid header double click event
    By shanney in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 1 Mar 2010, 7:23 PM
  2. make new window witdh textlink same
    By zmoerf in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 31 Oct 2007, 7:34 PM
  3. Grid - Double Header Columns
    By FuryVII in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 23 Feb 2007, 7:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •