Grouping Problem

2 posts, 1 answers
  1. Goje
    Goje avatar
    1 posts
    Member since:
    Aug 2016

    Posted 17 Aug 2016 Link to this post

    When radGridView's data is grouped by a column and the column's HeaderText is empty string then a colon sign (:) is shown on the groups of rows in grid. How can I hide this colon sign? For more details see the attached image please.

    Here is shortened code:

    1.grid.Columns["Code"].HeaderText = "";
    2.grid.GroupDescriptors.Add(new Telerik.WinControls.Data.GroupDescriptor("Code"));

  2. Answer
    Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    4060 posts

    Posted 18 Aug 2016 Link to this post

    Hello Goje,

    Thank you for writing. 

    By default, RadGridView displays the column name and the group value separated by ":". If you set the column's HeaderText to an empty string, you are supposed to see the ":" and the group value. The following help article demonstrates how you can customize the displayed text in the group rows by using the GroupSummaryEvaluate event: 

    I hope this information helps. Should you have further questions I would be glad to help.

    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Back to Top