Hierarchical Grid Caption BackColor

2 posts, 0 answers
  1. Szymon
    Szymon avatar
    6 posts
    Member since:
    Sep 2013

    Posted 13 Sep 2013 Link to this post

    Hi!
    I have a problem with setting backcolor of child grid's caption.
    Screen shows exactly ma problem.
    I would like that "SapFieldFilters" look like "SapField". (Different backcolor). I hope my goal is clear. ;)

    How to achieve this?

    Thanks in advance!
  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3948 posts

    Posted 18 Sep 2013 Link to this post

    Hello Szymon,

    Thank you for your contacting Telerik Support.

    In order to achieve your goal, it is appropriate to use the RowFormatting event where you can customize the color of the TableElements:
    this.radGridView1.RowFormatting+=radGridView1_RowFormatting;

    private void radGridView1_RowFormatting(object sender, RowFormattingEventArgs e)
    {
        e.RowElement.TableElement.BackColor = Color.Gray;
    }

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

    Regards,
    Desislava
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top