How can I fill the blank rows with alternate color as well.

2 posts, 0 answers
  1. Dominic
    Dominic avatar
    1 posts
    Member since:
    Dec 2012

    Posted 20 Jan 2013 Link to this post

    I am new to telerik and i love your tools, its really great ! I am creating a Inventory Software, based on some existing software in real-world.

    I have attached a picture, so u can understand what i am trying to say.

    1. i have a Radgrid to enter the ORDER ITEMS.....
    2. I used Metro Theme. Its soo good I can enter my data.
    3. Finally i will be using some code to save my newly entered data from the GRID into SQL tables.

    The problem is, I can see the theme COLOR applied to the current row & Alternative row!   But , what about the rows which is yet to be entered ( its blank ) and its not soo nice! you can see the attachment and tell me if its possible fill the row colors to the entire grid.

    Thanks in advance !!!

  2. Anton
    Anton avatar
    167 posts

    Posted 24 Jan 2013 Link to this post

    Hello Dominic,

    Thank you for writing.

    Unfortunately, the desired appearance cannot be achieved. You cannot create visual representation of rows that do not exist into in RadGridView and you cannot apply such a customization to the blank area under the existing rows. The only customization of this space than can be applied is the BackColor property of the TableElement, however, this will be applied to the whole TableElement, not just the blank area:
    this.radGridView1.TableElement.BackColor = Color.Red;

    Should you have any other questions, I will be glad to assist you.

    All the best,
    the Telerik team
    Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
Back to Top