This is a migrated thread and some comments may be shown as answers.

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

1 Answer 31 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dominic
Top achievements
Rank 1
Dominic asked on 20 Jan 2013, 06:56 PM

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 !!!

Regards,
Dominic

1 Answer, 1 is accepted

Sort by
0
Anton
Telerik team
answered on 24 Jan 2013, 08:44 AM
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,
Anton
the Telerik team
Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
Tags
GridView
Asked by
Dominic
Top achievements
Rank 1
Answers by
Anton
Telerik team
Share this question
or