This question is locked. New answers and comments are not allowed.
I'm using this example to create a dynamic gridview:
http://blogs.telerik.com/vladimirenchev/posts/11-09-28/dynamic-binding-for-your-silverlight-applications.aspx
In my application the first 3 columns always have the same column header.
Is it possible to group these 3 columns directly after loading and hide the grouped header?
I've tried to use
and
But this is not working in combination with
http://blogs.telerik.com/vladimirenchev/posts/11-09-28/dynamic-binding-for-your-silverlight-applications.aspx
In my application the first 3 columns always have the same column header.
Is it possible to group these 3 columns directly after loading and hide the grouped header?
I've tried to use
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Location}"
Header
=
"Location"
IsFilterable
=
"True"
IsGroupable
=
"True"
IsReadOnly
=
"True"
IsReorderable
=
"False"
IsResizable
=
"True"
IsSortable
=
"False"
UniqueName
=
"Location"
ShowColumnWhenGrouped
=
"False"
/>
</
telerik:RadGridView.Columns
>
<
telerik:RadGridView.GroupDescriptors
>
<
telerik:GroupDescriptor
Member
=
"Location"
SortDirection
=
"Ascending"
/>
</
telerik:RadGridView.GroupDescriptors
>
private void Grid_AutoGeneratingColumn(object sender, GridViewAutoGeneratingColumnEventArgs e)
{
if (e.Column.UniqueName == "Location")
{
e.Cancel = true;
}
}
But this is not working in combination with
AutoGenerateColumns="True"