I have a gridview where I would like to implement two levels of grouping. The first level is the same, but the second level is conditional. When the condition is true, I would like to use the CustomGridGroupContentCellElement (as your sample), where is false, I would like to use a standard GridGroupContentCellElement.
I was able to get the initial display to work, but I am having issues with virtualization when the cell is being re-displayed during a collapse/expand and scrolling.
What I am doing now:
In then radgridview.CreateCell event handler;
(GridGroupContentCellElement) && e.Row.RowInfo.Group.Level == 1)
var myobjectInfo = e.Row.RowInfo.ChildRows.DataBoundItem
&& myobjectInfo.TestCondition ==
When initially displaying the group, everything seems to work. But when expanding/collapsing or scrolling, the incorrect group cell is displayed at times.
I have looked at ViewCellFormatting and GroupSummaryEvaluate but don't know what I need to do in order to make sure the correct group cell is displayed.