Results 1 to 2 of 2

Thread: Collapsed group

  1. #1
    Sencha User
    Join Date
    Jan 2011
    Posts
    3
    Vote Rating
    0
      0  

    Default Collapsed group

    Hi,

    I am trying to display multigrouping,all my groups are comming as expanded but i want it as collapsed, can anybody help on this.(only the first group should display and rest all collapsed)

    Thank you

  2. #2
    Ext User
    Join Date
    Nov 2009
    Posts
    6
    Vote Rating
    0
      0  

    Default startCollapsed : true is what you are looking for.

    [EXTJS]

    var groupView = new Ext.ux.grid.MultiGroupingView({
    hideGroupedColumn : true
    ,groupMode : 'display'
    ,emptyGroupText : ''
    ,startCollapsed : true
    ,displayEmptyFields : true //you can choose to show the group fields, even when they have no values
    ,groupTextTpl : '{group} '+
    '({values.rs.length} '+
    'Record{[values.rs.length>1?"s":""]}) '
    });

    [/EXTJS]

Similar Threads

  1. Collapsed group expands by itself
    By frrogoy in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 2 Mar 2010, 8:05 AM
  2. GroupingView with first group collapsed
    By ajennings in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 18 Nov 2009, 10:04 AM
  3. Replies: 1
    Last Post: 10 May 2009, 8:23 AM
  4. Editable Grid with Multi Level Group with individual Group Summary
    By Trinad in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 4 Oct 2008, 3:27 PM
  5. Replies: 1
    Last Post: 16 Aug 2007, 8:29 AM

Posting Permissions

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