Results 1 to 2 of 2

Thread: IE8 doesn't show gridpanel

  1. #1
    Ext User
    Join Date
    Nov 2010
    Vote Rating

    Default IE8 doesn't show gridpanel

    I have a grid panel that is not shown in IE8 but everything works fine in ff and opera. here's my code:

     <div id="mydiv"></div>
        <style type="text/css">
        .x-grid3-cell-inner, .x-grid3-hd-inner  {white-space: inherit;}
        <script type="text/javascript">    
        var sData=[["7039","","","dummy value","Application Administrator","Application Administrator","89/9/14?? 14:37:02 (GMT+03:30)","dummy value"],["8198","","","dummy value s","Application Administrator","","","dummy value"],["8247","","","dummy value","Application Administrator","","","dummy value"],["8261","","","dummy value","Application Administrator","","","dummy value"]];
            var store = new{
                data: sData,
                reader: new{
                    envelope_id: 'envelope_id'
                }, ['envelope_id', 'status_id', 'workflow_name', 'name','created_by_full_name','modified_by_full_name', {
                    name: 'modified_datetime',                
                }, 'step_name'])
            function linkFactory(val,x,store){
                 return '<a href="/workflow/envelope/EnvelopeProperties.jsp?id=''">'+val+'</a>';
            function del(val){
                return '<a href="javascript:abortEnvelope(\''+val+'\', \'personal\')"><img src="../images/icons/toolbar-gen-cancel_on.gif" /></a>';}
            var grid = new Ext.grid.GridPanel({
                renderTo: Ext.get('mydiv'),
                frame: true,
                width: 520,
                stripeRows: true,
                enableColumnMove: false,
                store: store,
                columns: [
                          {header: "dummy value", width: 235,renderer:linkFactory, dataIndex: 'name',sortable:true,css: 'white-space:normal;'},
                        {header: "dummy value",width:85 ,dataIndex: 'step_name',sortable:true},
                        {header: "dummy value",width:120,dataIndex: 'modified_datetime',sortable:true,css: 'white-space:normal;'},                    
                        {header: "dummy value ", dataIndex: 'workflow_name',sortable:true,hidden:true,css: 'white-space:normal;'},
                        {header: "dummy value ", dataIndex: 'created_by_full_name',sortable:true,hidden:true,css: 'white-space:normal;'},
                        {header: "dummy value", dataIndex: 'modified_by_full_name',sortable:true,hidden:true,css: 'white-space:normal;'},
                        {renderer:del,width:25,dataIndex: 'envelope_id',hideable:false}
    I have no idea which part is causing trouble and i'd be grateful if you help me.

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    The Netherlands
    Vote Rating


    Trailing comma:
    name: 'modified_datetime',
    ps. Always run your code through first!

Similar Threads

  1. GridPanel doesn't show data
    By guys2008 in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 13 Oct 2010, 6:18 AM
  2. Grid IE8 doesn't show any data until select
    By so0ly in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 17 Mar 2010, 8:29 AM
  3. GridPanel doesn't fill in IE8
    By FaridJC in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 3 Feb 2010, 2:02 PM
  4. [2.0.2] doesn't show the second time called?
    By ikk0 in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 25 Apr 2008, 1:04 PM

Posting Permissions

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