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

Remove grid group

1 Answer 59 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Charles Craig
Top achievements
Rank 1
Charles Craig asked on 29 Jan 2009, 09:18 PM
Greetings,

A user drags a column to the group header section, and the grid is now grouped.  How do I programatically remove that dragged group?

Cheers

Chuck Craig
City of Mesa Az

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 30 Jan 2009, 04:36 AM
Hi Charles,

You can dynamically remove Grouping in Grid as shown below.

CS:
 protected void Button1_Click(object sender, EventArgs e) 
    { 
        RadGrid1.MasterTableView.GroupByExpressions.Clear(); 
        RadGrid1.MasterTableView.Rebind(); 
    } 


Shinu.
Tags
Grid
Asked by
Charles Craig
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or