Hi all
I am using RadGrid with HeaderContextMenu enabled, I disabled grouping and I'd like to hide it from the HeaderContextMenu, I added the following code:
foreach (GridColumn column in RadGrid1.MasterTableView.Columns)
{
column.Groupable = false;
}
and it works correctly, but when I tried to hide it from AutoGeneratedColumns I used the following code:
foreach (GridColumn column in RadGrid1.MasterTableView.AutoGeneratedColumns)
{
column.Groupable = false;
}
but Group by, and Ungroup remains...
of course I used:
RadGrid1.ShowGroupPanel = false;
RadGrid1.GroupingEnabled = false;
RadGrid1.ClientSettings.AllowDragToGroup = false;
anyhelp please ASAP.......
Regards...
Idwaikat--
I am using RadGrid with HeaderContextMenu enabled, I disabled grouping and I'd like to hide it from the HeaderContextMenu, I added the following code:
foreach (GridColumn column in RadGrid1.MasterTableView.Columns)
{
column.Groupable = false;
}
and it works correctly, but when I tried to hide it from AutoGeneratedColumns I used the following code:
foreach (GridColumn column in RadGrid1.MasterTableView.AutoGeneratedColumns)
{
column.Groupable = false;
}
but Group by, and Ungroup remains...
of course I used:
RadGrid1.ShowGroupPanel = false;
RadGrid1.GroupingEnabled = false;
RadGrid1.ClientSettings.AllowDragToGroup = false;
anyhelp please ASAP.......
Regards...
Idwaikat--