For this purpose on the following line of the HideExpandColumnRecursive method:
Button MyExpandCollapseButton =
you will need to check whether the nestedView.ParentItem
instance is of type GridGroupHeaderItem
and hide the expand button, if so.
I hope this information helps.
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed