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

[Solved] Self Grid child row color

3 Answers 165 Views
Grid
This is a migrated thread and some comments may be shown as answers.
pavan pemmaraju
Top achievements
Rank 1
pavan pemmaraju asked on 17 Feb 2010, 09:47 PM
Hi,

I have a multilevel self referencing grid. I am trying to set the row color of the child grids and I observe that the child row expands throughout the grid even though the first field is indented. Is there a way to just color the child rows starting from the first field and not the entire row ?

Thanks,
Pavan.

3 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 18 Feb 2010, 06:05 PM
I think if the child row still remains within the same column of the RadGrid you will have to have the  style fill in the entire column - regardless of indentation. Looking at the HTML through firebug I can see that the entire element (parent or child) is located within a <td> which has the same size regardless of level in the hierarchy.
0
pavan pemmaraju
Top achievements
Rank 1
answered on 18 Feb 2010, 08:39 PM
Yes. I observed the same thing. Let me put my question in a different way. Is there a way to partially fill a table row, In particular is there a way to specify style setting in a table row upto a no. of pixels. For example only the first five pixels of a row should be blue the rest should be black.

Pavan.
0
Dimo
Telerik team
answered on 19 Feb 2010, 11:31 AM
Hello Pavan,

"is there a way to specify style setting in a table row upto a no. of pixels. For example only the first five pixels of a row should be blue the rest should be black."

I am still not sure what you are trying to do, but the above can only be achieved with a background image or a combination of a background image and background color styles.

Greetings,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
pavan pemmaraju
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
pavan pemmaraju
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or