Controlling the Group Load Mode
You can control where the grouping will be handled using the GroupLoadMode property of GridTableView. There are two options:
- Server-side - GridTableView.GroupLoadMode.Server - this is the default behavior. Groups are expanded after postback to the server for example:
| ASPX/ASCX |
Copy Code |
|
<MasterTableView GroupLoadMode="Server"> |
- Client-side - GridTableView.GroupLoadMode.Client. Groups will be expanded client-side and no postback will be performed.
| ASPX/ASCX |
Copy Code |
|
<MasterTableView GroupLoadMode="Client"> |
and set the client setting AllowGroupExpandCollapse to true:
| ASPX/ASCX |
Copy Code |
|
<ClientSettings AllowGroupExpandCollapse="True"> |
Further details about the group load modes can be found in the online examples of the product (section
Grouping).