This question is locked. New answers and comments are not allowed.
Hi there, as I read in your breaking changes post regarding the Q3 release SortDescriptor and GroupDescriptor functionality has been changed. I have two code segments that no longer work and I am unsure how to change them in order to get them to work with the new functionality. Please could you help?
Firstly the GroupDescriptor has lost it's member property...
And similarly SortDescriptor has the same problem...
Anyone able to point me in the right direction?
Thanks,
Gareth.
Firstly the GroupDescriptor has lost it's member property...
private
void
GridView_Grouped(
object
sender, Telerik.Windows.Controls.GridViewGroupedEventArgs e)
{
if
(e.Action == Telerik.Windows.Controls.GroupingEventAction.Place)
{
this
.GridView.Columns[e.GroupDescriptor.Member].IsVisible =
false
;
}
else
if
(e.Action == Telerik.Windows.Controls.GroupingEventAction.Remove)
{
this
.GridView.Columns[e.GroupDescriptor.Member].IsVisible =
true
;
}
}
And similarly SortDescriptor has the same problem...
GridViewColumn column = headerCell.Column;
using
(grid.DeferRefresh())
{
Telerik.Windows.Data.SortDescriptor sd = (from d
in
grid.SortDescriptors
where d.Member == column.UniqueName
select d).FirstOrDefault();
Anyone able to point me in the right direction?
Thanks,
Gareth.