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

Cell Style overlapping GridRow Border

1 Answer 65 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Giuseppe
Top achievements
Rank 1
Giuseppe asked on 19 Jul 2013, 04:27 PM

 I have a grid with some info , on some columns i am applying a cellstyleselctor where i applying only the background color.

What i need is that the background color in the cell must be inside the cell border rettagle leaving the GridRow gridlines free which in this way will the be colored when the user selects the line. As you can se i have modified the GridViewRow  style in oredr to obtain the row border color.

The problem is that where a backgound style is applied in the cell (yellow) the lower grid line is not shown.
Is there a way to template the background color of a cell in order to leave space inside the cell , upper and lower .

Thanks,

Giuseppe 

 

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Top achievements
Rank 1
answered on 19 Jul 2013, 04:34 PM
  1. Hi Guys,
  2. Sory but i am expirencing some trouble with the forum .
  3. My problem is that i need to make the background color in a cell (radgrid) smaller than the whole cell itself in order to be able to show the row border when the row has been selected. I have done some mods in the GridViewCell.xaml code but without any solution . I have attache a screenshot of what is happening , any suggestion would be appreciated.
  4. Kind Regards
  5. Giuseppe
Tags
GridView
Asked by
Giuseppe
Top achievements
Rank 1
Answers by
Giuseppe
Top achievements
Rank 1
Share this question
or