1. #1
    Ext JS Premium Member
    Join Date
    Dec 2007
    Vote Rating
    sanjshah is on a distinguished road


    Default Array Grid Example

    Array Grid Example

    Hi, I'm using the 'Array Grid' example to understand how the grid work, I have changed some of the testing to the following:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Array Grid Example</title>
    <link rel="stylesheet" type="text/css" href="exttools/ext-2.0/resources/css/ext-all.css" />
    <script type="text/javascript" src="exttools/ext-2.0/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" src="exttools/ext-2.0/ext-all.js"></script>
    <script type="text/javascript">
     * Ext JS Library 2.0
     * Copyright(c) 2006-2007, Ext JS, LLC.
     * licensing@extjs.com
     * http://extjs.com/license
        Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
        var myData = [
        // create the data store
        var store = new Ext.data.SimpleStore({
            fields: [
               {name: 'company'},
               {name: 'email'},
               {name: 'surname'},
               {name: 'firstname'},
               {name: 'password'}
        // create the Grid
        var grid = new Ext.grid.GridPanel({
            store: store,
            columns: [
                {id:'company',header: "Company", width: 160, sortable: true, dataIndex: 'company'},
                {header: "Email", width: 75, sortable: true, dataIndex: 'email'},
                {header: "Surname", width: 75, sortable: true, dataIndex: 'surname'},
                {header: "Firstname", width: 75, sortable: true, dataIndex: 'firstname'},
                {header: "Password", width: 85, sortable: true, dataIndex: 'password'}
            stripeRows: true,
            autoExpandColumn: 'company',
            title:'Users in System'
    <link rel="stylesheet" type="text/css" href="exttools/ext-2.0/examples/grid/grid-examples.css" />
    <link rel="stylesheet" type="text/css" href="exttools/ext-2.0/examples/examples.css" />
    <script type="text/javascript" src="exttools/ext-2.0/examples/examples.js"></script>
    All works well except when I try to drag a column, and when I click the dropdown arrow, I can see the menu and hide unhide columns but get the following error message:

    Object doesn't support this object or method

    This error only appears in IE

    Any ideas?

    Last edited by sanjshah; 10 Dec 2007 at 10:27 AM. Reason: Checked other browsers

  2. #2
    Ext JS Premium Member Joyfulbob's Avatar
    Join Date
    Feb 2008
    Vote Rating
    Joyfulbob is on a distinguished road


    Default I wish we could get a reply to this one...

    I wish we could get a reply to this one...


    I'm experiencing the same thing; I've tried to change /remove a lot of code to no avail.

    On top of it, IE doesn't tell you what file the error is in - just the line # and character #.

    What tools does ExtJS recommend? I'v eused JSLIST to correct extra commas, etc.

    App runs great in FF.

    Thanks in advance!

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi