Results 1 to 4 of 4

Thread: grid.GroupingView & collapsible: false

  1. #1
    Ext User
    Join Date
    Mar 2008
    Posts
    11

    Default grid.GroupingView & collapsible: false

    Hey guys,

    I searched the forums and saw something about a fix for "collapsible: false" for panel layouts back in 2007 but nothing for grids.

    I'm using a grouping grid:

    Code:
        var grid = new xg.GridPanel({
            store: new Ext.data.GroupingStore({
                reader: reader,
                data: xg.dummyData,
                sortInfo:{field: 'txType', direction: "ASC"},
                groupField:'txType'
            }),
    
            columns: [
                {header: "Transaction Type", width: 265, sortable: true, dataIndex: 'txType'},
                {header: "SnapCredits", width: 60, sortable: true, align:'center', dataIndex: 'credits'},
                {id:'trigger', header: "Charge Trigger", width: 265, sortable: true, dataIndex: 'trigger'}
            ],
    
            view: new Ext.grid.GroupingView({
                forceFit:true,
                showGroupName: false,
                groupTextTpl: '{text}'
            }),
    
            frame:true,
            width: 700,
            height: 450,
            collapsible: false,
            hideCollapseTool: true,
            renderTo: document.body
        });
    Even though I set collapsible to false, the groups are still collapsible and the collapse tool still display. What am I missing?

  2. #2
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996

    Default

    I see no such config in the API for this. Are you making this up? I see a few methods you might be able to play with to get that behavior, but not a config.

  3. #3
    Ext User
    Join Date
    Mar 2008
    Posts
    11

    Default

    Oh! I must have confused GroupingView with GridPanel.

    What do you suggest mjlecomte?

  4. #4
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996

    Default

    Well, if it were I'd look at the source to see what's going on. I think there's something to override with the css perhaps to remove the collapsible icon, etc....something to modify with the template perhaps.

Posting Permissions

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