3 Answers, 1 is accepted
0
Hello Vijay,
In order to hide the UI grouping of the DataGrid you can simply set the UserGroupMode property of the DataGrid to Disabled.
Hope this helps.
Regards,
Nasko
Progress Telerik
In order to hide the UI grouping of the DataGrid you can simply set the UserGroupMode property of the DataGrid to Disabled.
Hope this helps.
Regards,
Nasko
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
0

Vijay
Top achievements
Rank 1
answered on 25 Oct 2017, 09:29 AM
Setting UserGroupMode property as Disabled completely removed the functionality of Grouping. I want to hide GroupPanel but I don't want to completely remove the functionality of Grouping.
Also, setting UserGroupMode=Disabled didn't remove text from flyout. Is it a bug?
0
Hi, Vijay,
You can find the Group Panel visual element and hide it on the load of the RadDataGrid:
I have attached a sample for your reference.
Regards,
Stefan Nenchev
Progress Telerik
You can find the Group Panel visual element and hide it on the load of the RadDataGrid:
private
void
DataGrid_Loaded(
object
sender, RoutedEventArgs e)
{
var servicePanel = ElementTreeHelper.EnumVisualDescendants(
this
.DataGrid, a => a.GetType() ==
typeof
(DataGridServicePanel)).FirstOrDefault();
if
(servicePanel !=
null
)
{
servicePanel.SetValue(DataGridServicePanel.VisibilityProperty, Visibility.Collapsed);
}
}
I have attached a sample for your reference.
Regards,
Stefan Nenchev
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items