[CLOSED] Columns in group header (GridPanel)

  1. #1

    [CLOSED] Columns in group header (GridPanel)

    Hello,
    is it somehow possible to have columns in a row group header? I need to display data in the header aligned according to columns.

    Like this:


    Thank you!
    Attached Thumbnails Click image for larger version. 

Name:	Capture.JPG 
Views:	4 
Size:	42.8 KB 
ID:	22521  
    Last edited by Daniil; Mar 20, 2015 at 11:52 AM. Reason: [CLOSED]
  2. #2
    Hi @exe,

    Unfortunately, there is no such the functionality.

    Seems the group header is the only place to put the additional information.
  3. #3
    It's possible to acomplish it partialy by doing the following

    Define non-grouped Columns' TdCls to customColumn
    <ext:Column TdCls="customColumn" />
    Then add the following css to your page
    <style>
        .customColumn .x-grid-cell-inner {
            border-right-width: 1px !important;
            border-right-style: solid !important;
            border-right-color: lightgray !important;
        }
    </style>
    Then you will get the following
    Click image for larger version. 

Name:	br002.png 
Views:	2 
Size:	19.9 KB 
ID:	22611

    Original Grid
    Click image for larger version. 

Name:	br001.png 
Views:	3 
Size:	19.2 KB 
ID:	22601
  4. #4
    Hello Raphael!

    Thx for sharing your knowledge. However I would like to have the columns in the first row in each group (in the header).
  5. #5
    You may be able to achieve it by overriding Ext.grid.feature.Grouping.groupTpl, although it may be dangerous to do that.

Similar Threads

  1. [CLOSED] Gridpanel Header Group Width
    By CPA1158139 in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 27, 2013, 11:59 AM
  2. [CLOSED] Problem Row Editor with columns header group
    By Digital.Dynamics in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Jun 12, 2012, 5:11 AM
  3. [CLOSED] GridPanel, group by many columns at the same time
    By Daly_AF in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: May 07, 2012, 9:23 AM
  4. Gridpanel + Group Header plugin
    By Birgit in forum 1.x Help
    Replies: 2
    Last Post: Nov 11, 2010, 9:31 AM
  5. ContextMenu on GridPanel Group header
    By Cester in forum 1.x Help
    Replies: 0
    Last Post: Apr 21, 2009, 9:12 AM

Tags for this Thread

Posting Permissions