Results 1 to 2 of 2

Thread: Cannot resize column

  1. #1
    Sencha User
    Join Date
    Nov 2008
    Posts
    37

    Default Cannot resize column

    Hi there,

    I have the grid defined the following way, I can't re-size the columns , is there anything I'm missing ?

    this.gridPanel = new Ext.grid.GridPanel({


    autoScroll : true,
    id : 'FeResultsView',
    title: 'Finance Account',
    stripeRows : true,
    margins : '0',
    flex:10,
    height:200,
    forceFit : true,
    loadMask:true,
    resize:true,


    cls:'mygrid',
    columnLines : true,
    tbar:[],
    store : parent.store,
    cm : new Ext.grid.ColumnModel({
    columns : [{
    header : 'Finance Account',
    width : 150,
    dataIndex : 'finAccount'
    }, {
    header : 'Account Type',
    width : 150,
    dataIndex : 'accountType'
    }, {
    header : 'Institution',
    width : 150,
    dataIndex : 'institution'
    }, {
    header : 'Associated Entity',
    width : 150,
    dataIndex : 'associatedEntity'
    }, {
    header : 'Group Id',
    width : 100,
    dataIndex : 'groupID'
    }, {
    header : 'Date Of Info',
    width : 400,
    dataIndex : 'dateOfInfo'
    }],
    defaults : {
    sortable : true,
    menuDisabled : false,
    width : 150
    },
    viewConfig: {
    }
    }),


    sm : new Ext.grid.RowSelectionModel({
    singleSelect : true

    }),

    trackMouseOver : true
    //bbar : parent.pager //zz :disable page bar
    });

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,791
    Answers
    585

    Default

    Please don't double post.

    The other copy of this thread is here:

    http://www.sencha.com/forum/showthread.php?248459

Tags for this Thread

Posting Permissions

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