Results 1 to 3 of 3

Thread: ?????????????????

  1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    5
    Vote Rating
    0
      0  

    Post ?????????????????

    ExtJs3.0?GridPanel?????????
    GridPanel??????30???????????????1,2,3,4,5,6????5,1,2,3,4,6???????
    ??????????????5,1,2,3,4,6???????????
    ?????????50?????????????????
    ??????????????????1,2,3,4,5,6???????????

    ????????????????????????

    ????????????????????
    ?????????????


    Code:
        Debug1_Store = new Ext.data.JsonStore( {
            url: './Json/debugtest.php',
            root: 'rows',
            totalProperty: 'total',
            autoDestroy: true,
            storeId: 'Debug1_Store_id',
            fields: [
                {    name: 'data1', type: 'timestamp',    dateFormat:'Y/m/d H:i:s'    },
                {    name: 'data2', type: 'string',    sortType: Ext.data.SortTypes.asInt    },
                {    name: 'data3', type: 'string',    sortType: Ext.data.SortTypes.asInt    },
    ????
                {    name: 'data48', type: 'string',    sortType: Ext.data.SortTypes.asInt    },
                {    name: 'data49', type: 'string',    sortType: Ext.data.SortTypes.asInt    },
                {    name: 'data50', type: 'string',    sortType: Ext.data.SortTypes.asInt    }
            ]
        });
    
        Debug1_Store.load({
            autoLoad: true,
            autoDestroy: true,
            params: {
                'action': 'list-all',
                'a': 1,
                'b': 1,
                'c': 1
            }
        });
        var column = new Ext.ux.grid.LockingColumnModel( {
            columns: [ {
                id: 'data1',
                header: 'data1',
                dataIndex: 'data1',
                width: 140,
                locked:false,
                align:'left'
            }, {
                id: 'data2',
                header: 'data2',
                dataIndex: 'data2',
                width: 100,
                align: 'left'
            }, {
                id: 'data3',
                header: 'data3',
                dataIndex: 'data3',
                width: 100,
                align: 'left'
            }, {
                id: 'data4',
                header: 'data4',
                dataIndex: 'data4',
                width: 100,
                align: 'left'
    ??????
            }, {
                id: 'data48',
                header: 'data48',
                dataIndex: 'data48',
                width: 100,
                align: 'left'
            }, {
                id: 'data49',
                header: 'data49',
                dataIndex: 'data49',
                width: 100,
                align: 'left'
            }, {
                id: 'data50',
                header: 'data50',
                dataIndex: 'data50',
                width: 100,
                align: 'left'
            }],
            defaults: {
                sortable: true
            }
        });
    
        Debug1_Panel = new Ext.grid.GridPanel({
            store: Debug1_Store,
            id: 'Debug1_Panel ',
            cm: column,
            width: 800,
            height: 500,
            stripeRows: true,
            view: new Ext.ux.grid.LockingGridView()
        });
        Debug1_Panel.render('debug1');

  2. #2
    Sencha User mashiki's Avatar
    Join Date
    Oct 2007
    Location
    Japan
    Posts
    139
    Vote Rating
    0
      0  

    Default

    Ext.state.CookieProvider??????????????????????????????????
    ????????grid?375????????????
    ??????????????????????????????????????????
    ???????????????????

  3. #3
    Sencha User
    Join Date
    Jan 2012
    Posts
    5
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by mashiki View Post
    Ext.state.CookieProvider??????????????????????????????????
    ????????grid?375????????????
    ??????????????????????????????????????????
    ???????????????????
    ?????????????
    ??????Ext.state.CookieProvider???????????????????4KB????????
    ??????????????????
    ??????????????????????????????????????

Posting Permissions

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