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

[Solved] Collasping group causes dynamic columns to disappear

2 Answers 97 Views
Grid
This is a migrated thread and some comments may be shown as answers.
gsxrboy
Top achievements
Rank 1
gsxrboy asked on 21 Jan 2010, 11:49 PM
Hello,
    I have a Radgrid which has both static and dynamic columns and is programmatically databound to a datatable.  When you collapse a grouping, the dynamic columns (at least the headers) disappear. What, if any, server side event is being raised when the client collapses a group? Is the grid required to postback in order to collapse a group?

Thank you

2 Answers, 1 is accepted

Sort by
0
Accepted
Erwin Floresca
Top achievements
Rank 1
answered on 22 Jan 2010, 04:23 AM
If it is doing the postback you need to rebind the grid so that the dynamic columns don't disappear. Or you can set the property GroupLoadMode="Client" on the <MasterTable> tag and the expand / collapse will happen on the client side.
0
gsxrboy
Top achievements
Rank 1
answered on 22 Jan 2010, 12:43 PM
Perfect!
GroupLoadMode="Client" did the trick. I overlooked that property. 
Thanks!
Tags
Grid
Asked by
gsxrboy
Top achievements
Rank 1
Answers by
Erwin Floresca
Top achievements
Rank 1
gsxrboy
Top achievements
Rank 1
Share this question
or