This is a migrated thread and some comments may be shown as answers.

How do I Remove or Delete Grouping?

2 Answers 62 Views
GridView
This is a migrated thread and some comments may be shown as answers.
TwoLaJit
Top achievements
Rank 2
TwoLaJit asked on 08 Jun 2009, 02:32 PM
I want to undo this command:

        Me.OrderStatusRadGridView.MasterGridViewTemplate.GroupByExpressions.Add("OrderType GroupBy OrderType")
        Me.OrderStatusRadGridView.MasterGridViewTemplate.GroupByExpressions.Add("OrderStatus GroupBy OrderStatus")

and redo as I need to.

The documentation shows to how to add groups programically but not remove them.

Thank you


2 Answers, 1 is accepted

Sort by
0
TwoLaJit
Top achievements
Rank 2
answered on 08 Jun 2009, 02:35 PM
actually I figured it out.

it is:

Me.OrderStatusRadGridView.MasterGridViewTemplate.GroupByExpressions.Remove("OrderType GroupBy OrderType")
Me.OrderStatusRadGridView.MasterGridViewTemplate.GroupByExpressions.Remove("OrderStatus GroupBy OrderStatus")
       


0
Accepted
Jack
Telerik team
answered on 08 Jun 2009, 04:02 PM
Hello TwoLaJit,

I am glad to hear that you have found a solution to this issue. If you need any kind of further assistance, please don't hesitate to write us back.

All the best,
Jack
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
TwoLaJit
Top achievements
Rank 2
Answers by
TwoLaJit
Top achievements
Rank 2
Jack
Telerik team
Share this question
or