This question is locked. New answers and comments are not allowed.
Hello Telerik Team,
I am doing the grouping of my grid view as explained in your tutorials.
1. In Programatic grouping it says: Use DataItem Collection. But there is no sample of how to use to bind items collection to the grid. I tried to use it like a list and add items into it, but of no use,
2. I want to control the speed of the opening the groups detail rows. I know I can control in radtreeview I am wondering will I hav the privilege to do the same here??
Thanks
I am doing the grouping of my grid view as explained in your tutorials.
1. In Programatic grouping it says: Use DataItem Collection. But there is no sample of how to use to bind items collection to the grid. I tried to use it like a list and add items into it, but of no use,
2. I want to control the speed of the opening the groups detail rows. I know I can control in radtreeview I am wondering will I hav the privilege to do the same here??
AnimationSelector animationSelector = AnimationManager.GetAnimationSelector(dgActivity) as AnimationSelector;
foreach (Telerik.Windows.Controls.Animation.RadAnimation animation in animationSelector.Animations)
{
animation.SpeedRatio = 0.2;
}
| Programmatic Grouping | |
| See Also |
| Controls > RadGridView > Grouping > Programmatic Grouping |
Glossary Item Box
Besides the built-in grouping functionality you are able to use a programmatic approach to group the data in the RadGridView. This is achieved via the GroupDescriptors property of the RadGridView. This collection allows you to use descriptors which define the grouping criteria and the group's sorting direction for the data that is bound to the RadGridView. As this is a collection you are able not only to add, but to remove or clear the entries in it too.
![]() |
If you use DataItemCollection as data source, the RadGridView will automatically synchronize the GroupDescriptors of the source with its own ones. |
