Helo,
I have severals radgrid superposed (like picture ) and
I want to remove border of cell (highlited) in a radgrid if the cell is not selected to keep only one cell highlited (selected cell)
I use a CellSelect mode
I tried this code but the result is ugly, Because of original cell border (blue) is deleted Also
Thank you for your help,
I have severals radgrid superposed (like picture ) and
I want to remove border of cell (highlited) in a radgrid if the cell is not selected to keep only one cell highlited (selected cell)
I use a CellSelect mode
I tried this code but the result is ugly, Because of original cell border (blue) is deleted Also
RadGridView_ViewCellFormatting(
object
sender, CellFormattingEventArgs e)
{
GridDataCellElement dataCell = e.CellElement
as
GridDataCellElement;
if
(dataCell !=
null
)
{
Color borderColor = Color.Transparent;
if
(!dataCell.IsSelected)
borderColor = Color.Red;
dataCell.BorderColor = borderColor;
}
}
Thank you for your help,