[CLOSED] ShowGroupName ="false" does not hide the grouping header

  1. #1

    [CLOSED] ShowGroupName ="false" does not hide the grouping header

    Hello,
    I am trying to hide the group headers for all the groups by setting the properties: ShowGroupName="false" ShowGroupsText="false" but that didn't work. The header text still dispplays.
    How can I hide the group header text?
    Below is my code for the grouppingview:
     <View>
                                                    <ext:GroupingView ID="GroupingView1" runat="server" HideGroupedColumn="true" HeadersDisabled="true"
                                                         StartCollapsed="false" ShowGroupName="false" ShowGroupsText="false">
                                                     </ext:GroupingView>
                                                </View>
    Last edited by Daniil; Jun 02, 2012 at 11:12 PM. Reason: [CLOSED]
  2. #2
    Hi,

    You should set up:
    <ext:GroupingView runat="server" GroupTextTpl="&nbsp;" />
    See also:
    http://docs.sencha.com/ext-js/3-4/#!...g-groupTextTpl
  3. #3
    Hi,

    Setting it up your way displays an empty header but it does not hide the header. How do you hide the extra blank space for each grouping?

    Thanks!

    Quote Originally Posted by Daniil View Post
    Hi,

    You should set up:
    <ext:GroupingView runat="server" GroupTextTpl="&nbsp;" />
    See also:
    http://docs.sencha.com/ext-js/3-4/#!...g-groupTextTpl
  4. #4
    But where should be +/- icons to expand/collapse groups?
  5. #5
    The groups are not collapsible/expandable. Each grouping is differentiated by background colors.

    Quote Originally Posted by Daniil View Post
    But where should be +/- icons to expand/collapse groups?
  6. #6
    Please set up:
    Cls="my-grid"
    for the GridPanel.

    Here is the "my-grid" CSS class definition.
    <style type="text/css">
        .my-grid .x-grid-group-hd {
            display: none;
        }
    </style>
  7. #7
    This works great!! Thank you.

    Quote Originally Posted by Daniil View Post
    Please set up:
    Cls="my-grid"
    for the GridPanel.

    Here is the "my-grid" CSS class definition.
    <style type="text/css">
        .my-grid .x-grid-group-hd {
            display: none;
        }
    </style>

Similar Threads

  1. [CLOSED] How to show "combobox arrow" after readOnly = false?
    By mcfromero in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 19, 2012, 3:20 AM
  2. Replies: 7
    Last Post: Jul 04, 2012, 3:58 PM
  3. [CLOSED] Hidden="true" behaves as Visible="false"
    By marco.morreale in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: May 28, 2012, 3:17 PM
  4. Replies: 0
    Last Post: Jan 18, 2011, 3:53 AM
  5. Replies: 2
    Last Post: Sep 02, 2010, 7:15 PM

Posting Permissions