It seems if I have a column with IsGroupable set to false, I can still drag and drop it to the group panel and grouping still works.
I know this can be workaround by handling and canceling the Grouping event, but are you guys planning a fix for this?
Thanks
I know this can be workaround by handling and canceling the Grouping event, but are you guys planning a fix for this?
Thanks
6 Answers, 1 is accepted
0
Hello,
Vlad
the Telerik team
I'm unable to reproduce such issue in this demo:
http://demos.telerik.com/silverlight/#GridView/Columns
Vlad
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0
Larry
Top achievements
Rank 1
answered on 22 Oct 2012, 06:31 PM
My mistake, Apparently it only breaks when data source is dynamic objects. Here is an example:
xaml
<
telerik:RadGridView
ItemsSource
=
"{Binding Data}"
AutoGenerateColumns
=
"False"
MinHeight
=
"386"
SelectionMode
=
"Extended"
IsReadOnly
=
"True"
Name
=
"DataGrid"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
x:Name
=
"NameColumn"
DataMemberBinding
=
"{Binding Name}"
IsGroupable
=
"False"
Header
=
"Name"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding LastUpdate}"
Header
=
"Last Update"
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
DataContext:
ObservableCollection<
DummyDataItem
> _data;
ObservableCollection<
DummyDataItem
> Data
{
get
{
if(_data== null)
{
_data= new ObservableCollection<
DummyDataItem
>();
_data.Add(new DummyDataItem());
}
return _data;
}
}
DummyDataItem.cs:
class DummyDataItem : DynamicObject
{
public override bool TryGetMember(GetMemberBinder binder, out object result)
{
result = "test";
return true;
}
}
0
Hi,
Vlad
the Telerik team
Are you using our latest official version (Q3 2012)?
All the best,Vlad
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0
Larry
Top achievements
Rank 1
answered on 23 Oct 2012, 01:45 PM
Nope I used q2 sp2. It's going to take a while for us to migration to q3
0
Larry
Top achievements
Rank 1
answered on 13 Feb 2013, 07:12 PM
We are at 2012.3, and the problem is still there.
0
Hello,
Vlad
the Telerik team
The grid on our demo is also bound to dynamic objects however you can group normally.
Greetings,Vlad
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.