Grouping Problem

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

    Posted 17 Aug 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
    Admin
    Dess avatar
    1601 posts

    Posted 18 Aug 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: http://docs.telerik.com/devtools/winforms/gridview/grouping/formatting-group-header-row 

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

    Regards,
    Dess
    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top