Hi Telerik,
I use the RowFormatting Event to change the bordel color of the parentrow when childrows are expanded, here's my code :
private
void
GridEmployeRenard_RowFormatting(
object
sender, Telerik.WinControls.UI.RowFormattingEventArgs e)
{
if
(e.RowElement.RowInfo.IsExpanded)
{
e.RowElement.BorderColor = RowExpandedColor; // RowExpandedColor is set above in the code
}
else
{
e.RowElement.ResetValue(Telerik.WinControls.UI.LightVisualElement.BorderColorProperty, ValueResetFlags.Local);
}
}
However when the row losts focus, the bordercolor is reset.
I need the rowBorderColor keeps the RowExpandedColor value until the row is collapsed by the user.
Any idea to do that please ?
Regards.