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

[Solved] Expand/Collapse on group header click

1 Answer 276 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Taburetka Kekc
Top achievements
Rank 1
Taburetka Kekc asked on 01 Sep 2009, 02:18 PM
Hello.

i have a question about radgrid groups, by default i need to click little arrow to expand/collapse the group.
Is it possible to have same behaviour when clicking on group header (the text which come from <SelectFields>) ?

Thank You !

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 07 Sep 2009, 07:05 AM
Hi,

You can refer to the following code lirary submission which illustrtates with the help of an application how to expand/collapse grouped items in RadGrid on double clicking the Group header. You can use the same logic with the only difference that you would have to add an onClick attribute to the GridGroupHeader instead of the onDblClick client event:
ExpandCollapseGroupedGridOnDoubleClickingTheGroupHeader

Hope this helps you out..
Princy :)
Tags
Grid
Asked by
Taburetka Kekc
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or