In the Ajax radGrid, in the PreRender event, I have all the group headers collapsed. But if I use another control to select the item, I want to select it in the grid (that's working great) and expand that item's header.
foreach
( item
in
sender.MasterTableView.Items) {
if
(item
is
GridDataItem) {
GridDataItem dataItem = (GridDataItem)item;
if
(curItem.Equals(dataItem.OwnerTableView.DataKeyValues(dataItem.ItemIndex)(
"JobNumber"
).ToString())) {
dataItem.Selected =
true
;
GridGroupHeaderItem groupHeader =
default
(GridGroupHeaderItem);
// *** At this point, how do I navigate to the groupHeader from the dataItem?
}
}
}