Hybrid View

  1. #1
    Sencha User
    Join Date
    Apr 2010
    Posts
    7
    Vote Rating
    0
    techillin is on a distinguished road

      0  

    Default Show GroupSummary within group

    Show GroupSummary within group


    Hello.

    I am using ExtJS 3.2.1 and Ext.ux.grid.GroupSummary. Per default the summary plugin places the "summary row" right below the group and thus always showing regardless if the group is expanded or not.

    I searching for a way to have the "summary row" to be inside the group and only show when the group is expanded.

    Source and example can be found here
    http://lagnut.net/settlers/support.js.php
    http://lagnut.net/settlers/gridsum.php

  2. #2

  3. #3
    Sencha User
    Join Date
    Apr 2010
    Posts
    7
    Vote Rating
    0
    techillin is on a distinguished road

      0  

    Default


    I don't want the summary to be on the same line as the group-title. Otherwise cool thou.

  4. #4
    Ext User
    Join Date
    Aug 2010
    Posts
    18
    Vote Rating
    0
    joseaio is on a distinguished road

      0  

    Default


    You can use a CSS hack (similar to link proposed) to show summary when expanded ...or hide when collapsed:

    Code:
      .x-grid-group-collapsed .x-grid3-summary-row {
        display: none;
      }

  5. #5
    Sencha User
    Join Date
    Apr 2010
    Posts
    7
    Vote Rating
    0
    techillin is on a distinguished road

      0  

    Default


    Yes, thats it. Thanks!

Similar Threads

  1. How to put groupsummary on the header of each group
    By hiweed in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 22 Jul 2010, 5:16 AM
  2. Grouping Grid - Group Name does not show up
    By Mike Lee in forum Community Discussion
    Replies: 6
    Last Post: 9 Oct 2008, 6:47 AM
  3. Group Summary Plugin: Howto add new GroupSummary type?
    By RobertCZ in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 22 Feb 2008, 1:24 PM
  4. show radio group on one row
    By wisecounselor in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 9 Jan 2008, 10:36 PM

Thread Participants: 1

Tags for this Thread