In RadGridView, I am trying the following:
1. When the row is clicked/selected, show 1 color. - Telerik grid had a default color, when i went to grid's row formatting event:
if (e.RowElement.IsSelected)
{
e.RowElement.GradientStyle = GradientStyles.Solid;
e.RowElement.BackColor = System.Drawing.Color.Red;
e.RowElement.DrawFill = true;
}
The issue is first row is selected as default when the grid is bound, when i click any rows , the first row that is already selected still shows as selected (although multiselect is false for the grid.), how do i not select first row, if any new row is clicked?
2. Also when i select/click on the row, always the first cell is highlighted, how do i disable that?
1. When the row is clicked/selected, show 1 color. - Telerik grid had a default color, when i went to grid's row formatting event:
if (e.RowElement.IsSelected)
{
e.RowElement.GradientStyle = GradientStyles.Solid;
e.RowElement.BackColor = System.Drawing.Color.Red;
e.RowElement.DrawFill = true;
}
The issue is first row is selected as default when the grid is bound, when i click any rows , the first row that is already selected still shows as selected (although multiselect is false for the grid.), how do i not select first row, if any new row is clicked?
2. Also when i select/click on the row, always the first cell is highlighted, how do i disable that?