1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    15
    Vote Rating
    1
    webdev2111 is on a distinguished road

      0  

    Exclamation Gridpanel header bug in IE8 browser

    Gridpanel header bug in IE8 browser


    I noticed in IE8 that the grid panel header column is of different sizes.. Any idea how this can be fixed?

    here is the code and screen shot


    Code:
        var listView = Ext.create('Ext.grid.Panel', {
          store: mystore,
          multiSelect: true,
          splitHandleWidth: 10,
          columnLines: true,
          viewConfig: {
            emptyText: 'No images to display'
          },
    
          renderTo: containerEl,
          
          columns: [{
            text: 'Severe',
            flex: 10,        
            dataIndex: 'Severe',
    
          },{
            text: 'Class',
             flex: 30,
            dataIndex: 'ClassName',
              renderer: function(value, metaData, record) {
              return Ext.String.format('<a href="#" class="tooltip2" >{0}<span>{0}</span></a>', value);
            }
          }, {
            text: 'Instance',
            flex: 0,
            dataIndex: 'InstanceDisplayName',
            renderer: function(value, metaData, record) {
              return Ext.String.format('<a href="#" class="tooltip2" >{0}<span>{0}</span></a>', value);
            }
          }, {
            text: 'Events',
            align: 'stretch',
            flex: 10,
            dataIndex: 'EventDisplayName',
            renderer: function (value, metaData, record) {
              return Ext.String.format('<a href="{0}" class="tooltip" >{1}<span>{1}.</span></a>', record.get('NotificationPropertiesLink'), record.get('Severity'));
            }
          }, {
            text: 'Impart',
            flex: 10,
            dataIndex: 'Import',
            align: 'right',
             renderer: function(value, metaData, record) {
              return Ext.String.format('<a href="#" class="tooltip-impact">{0}<span>{0}</span></a>', value);
            }
            
          }, {
            text: 'Last Changed',
            flex: 30,
            dataIndex: 'LastChangedAt',
            renderer: function(value, metaData, record) {
              dateVal = Ext.util.Format.date(value, 'd-M-Y h:i a');
              return Ext.String.format('<a href="#" class="tooltip-date" >{0} <span>{0} </span></a>', dateVal);
                 }
          }
                   
          ]
        });
        //pass along browser window resize events to the panel         
        Ext.EventManager.onWindowResize(listView.doLayout, listView);
    header-panel-ie8-bug.jpg

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,824
    Vote Rating
    836
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Is this in 4.0.7 or earlier? This should be fixed in 4.1.0
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Ext JS Premium Member
    Join Date
    Sep 2011
    Posts
    5
    Vote Rating
    0
    pmantraw@bmc.com is on a distinguished road

      0  

    Default


    Hi mitchellsimoens,

    Is there any quick fix for this issue, as we are getting into serious issues with the GridPanel header in IE8.
    Or if you can refer me tot a particular file location in 4.1 Beta source code that would be helpful.

    Thanks,
    Prasad


  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,824
    Vote Rating
    836
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 2

Tags for this Thread