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

Any way to know about grouping.

1 Answer 26 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Guillermo
Top achievements
Rank 1
Guillermo asked on 16 Dec 2014, 09:28 AM
Hi. i´m developing an web with telerik and need to know if user has drag any header to group filtering in a postback. I can use client side o server side code, there are any way to achieve this?

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 19 Dec 2014, 06:01 AM
Hi Guillermo,

You can use the following approach to determine whether the grid was grouped:
protected void Button1_Click(object sender, EventArgs e)
{
    bool isGrouped = RadGrid1.MasterTableView.GroupByExpressions.Count > 0;
}

Hope this helps.

Regards,
Eyup
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Guillermo
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or