1. #1
    Ext User
    Join Date
    Jul 2008
    Posts
    21
    Vote Rating
    0
    psarunkumar is on a distinguished road

      0  

    Default in the grid not diaplay column header

    in the grid not diaplay column header


    hi,
    my code working ff, but not working in ie, i change some correction then it working ie7.
    now my problem is in the output column header name not appear and in footer paging icon display in center in ie only, but firefox working correctly paging icon display left of the grid

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Companies : Pulpwatch.org</title>
    <link href="site.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="ext/resources/css/ext-all.css" />
    <script type="text/javascript" src="ext/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" src="ext/ext-all.js"></script>
    <script type="text/javascript">
    Ext.onReady(function(){

    Ext.state.Manager.setProvider(new Ext.state.CookieProvider());


    var store = new Ext.data.Store({
    // load using script tags for cross domain, if the data in on the same domain as
    // this page, an HttpProxy would be better
    proxy: new Ext.data.HttpProxy({
    url: 'DB/database.php',
    method: 'POST'
    }),

    // create reader that reads the Topic records
    reader: new Ext.data.JsonReader({
    root: 'base',
    totalProperty: 'totalCount',
    id: 'id',
    fields: [
    {name: 'Name'},
    {name: 'Product'}
    ]
    }),
    remoteSort: true

    });
    store.setDefaultSort('Name', 'asc');
    function renderstr(value, p, r){
    return String.format('{0}', value.split(','));
    }
    // create the Grid
    var grid = new Ext.grid.GridPanel({
    store: store,
    columns: [
    {header: "Company Name", width: 370,align: "left",sortable:true, dataIndex: "Name"},
    {header: "Products", width: 370,align: "left", dataIndex: "Product"}

    ],
    stripeRows: true,
    height:350,
    width:765,
    bbar: new Ext.PagingToolbar({
    pageSize: 15,
    store: store,
    displayInfo: true,
    displayMsg: 'Displaying topics {0} - {1} of {2}',
    emptyMsg: "No topics to display"

    })

    });

    grid.render('grid-company');
    store.load({params:{start:0, limit:15}});
    });
    </script>

    <?php include("headtags.php"); ?>


    <script type="text/javascript" src="http://www.pulpwatch.org/js/mainPublic.js"></script>



    </head>


    <body>

    <?php include("header.php"); ?>


    <div id="breadcrumbs"><a href="/">Home</a> &raquo; Companies &raquo; </div>

    <h1><img src="images/icon-company.gif" width="40" height="34" alt="Company" align="absmiddle" /> Companies</h1>
    <div id="googlemap">
    <div id="grid-company"></div>
    <!--end googlemap -->
    </div>
    <?php include("footer.php"); ?>

    </body>
    </html>
    and also send my snapshots to you first is ie output next firefox output
    Attachment 8398Attachment 8399

  2. #2
    Ext User
    Join Date
    Jul 2008
    Posts
    21
    Vote Rating
    0
    psarunkumar is on a distinguished road

      0  

    Default snapshots here

    snapshots here


    ie.jpg

    firefox.jpg

    [ATTACH]remove[/ATTACH]

    here you see the output for ie and firefox

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar