1. #1
    Sencha User tomalex0's Avatar
    Join Date
    Apr 2009
    Location
    India, Kerala, Cochin
    Posts
    583
    Vote Rating
    10
    tomalex0 will become famous soon enough

      0  

    Post Remove field from sorting of column

    Remove field from sorting of column


    im using Grouping store in grid ,i have to group the list with respect to User mentioned below but i dont want to show the User in sort--->columns---> how can remove User alone from that column
    Code:
    this.columnModel = new Ext.grid.ColumnModel([new Ext.grid.RowNumberer() {
    
        header: 'Domain',
    
        readOnly: true,
    
        dataIndex: 'name',
    
        width: 200,
    
        hidden: false
    
    },
    {
    
        header: 'User',
    
        readOnly: true,
    
        dataIndex: 'user',
    
        width: 60,
    
        hidden: true,
    
    
    }]);
    for example
    http://www.extjs.net/deploy/dev/exam...id-filter.html

    from above mentioned page i dont want to show "Company" in sorting--->Columns--> , how can i do that

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    43
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    Columns with fixed:true or hideable:false are not shown in the columns menu.

  3. #3
    Ext User
    Join Date
    Mar 2008
    Posts
    186
    Vote Rating
    0
    nctag is on a distinguished road

      0  

    Default


    try the following (as condor said too):

    Code:
    this.columnModel = new Ext.grid.ColumnModel([new Ext.grid.RowNumberer() {
    header: 'Domain',
    readOnly: true,
    dataIndex: 'name',
    width: 200,
    hidden: false
    },
    {
    header: 'User',
    readOnly: true,
    dataIndex: 'user',
    width: 60,
    hidden: true,
    hideable: false
    }]);