Hello. I'm trying to achieve the following look: The column columnUserName needs to be grouped and for all the counties that relates to a user, he should be repeated just once. I need the group NOT expanded. I also want the user NOT able to make any visual changes i.e. change grouping at run-time. Thanks.
<
fieldset
id
=
"fieldsetCountyAssignments"
style
=
"width: 868px"
>
<
legend
>
County Assignments:
</
legend
>
<
telerik:RadGrid
ID
=
"RadGridCountyAssignments2"
runat
=
"server"
AutoGenerateColumns
=
"False"
AllowPaging
=
"True"
GridLines
=
"None"
Skin
=
"Office2007"
SkinID
=
"RadGrid_UnPageable"
DataSourceID
=
"LinqDataSourceAssignedCounties"
ShowGroupPanel
=
"True"
>
<
MasterTableView
DataKeyNames
=
"OID"
DataSourceID
=
"LinqDataSourceAssignedCounties"
GroupsDefaultExpanded
=
"true"
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"UserName"
HeaderText
=
"User"
UniqueName
=
"columnUserName"
/>
<
telerik:GridBoundColumn
DataField
=
"CountyName"
HeaderText
=
"County"
UniqueName
=
"columnCountyName"
Groupable
=
"False"
/>
</
Columns
>
<
GroupByExpressions
>
<
telerik:GridGroupByExpression
>
<
SelectFields
>
<
telerik:GridGroupByField
FieldName
=
"UserName"
/>
</
SelectFields
>
<
GroupByFields
>
<
telerik:GridGroupByField
FieldName
=
"UserName"
/>
</
GroupByFields
>
</
telerik:GridGroupByExpression
>
</
GroupByExpressions
>
</
MasterTableView
>
<
ClientSettings
AllowDragToGroup
=
"True"
>
</
ClientSettings
>
</
telerik:RadGrid
>
<
asp:Button
ID
=
"ButtonModifyAssignments"
runat
=
"server"
OnClick
=
"ButtonModifyAssignments_Click"
Text
=
"Modify Assignments"
/>
</
fieldset
>