Column Background

2 posts, 0 answers
  1. Helen
    Helen avatar
    101 posts
    Member since:
    Nov 2008

    Posted 30 Jan 2010 Link to this post

    I have been experimenting with setting the Background property of the GridViewDataColumn. If I set it to a color, it works as expected. However, if I set it to "Transparent", I would expect that the background color of the Grid would show, but instead it is White. Is this by design?

    I can work around this by setting the column's background color, but would prefer to set it to "Transparent", as that makes it easier to change later.

    Cheers,

    Helen
  2. Kalin Milanov
    Admin
    Kalin Milanov avatar
    447 posts

    Posted 01 Feb 2010 Link to this post

    Hello Helen,

    Indeed this is by design of the grid. Setting a column to transparent (in fact it is transparent by default) will show the background of the rows. Setting their background to transparent will reveal the background of the grid (gray-ish color by default).

    Kind regards,
    Kalin Milanov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
Back to Top