This question is locked. New answers and comments are not allowed.
Hello
I´m traying to use juplist with MVVM
my VM it´s somthing like this
I´m traying to use juplist with MVVM
my VM it´s somthing like this
private ObservableCollection<
GenericGroupDescriptor
<string, string>> _groupbyfirst;
public ObservableCollection<
GenericGroupDescriptor
<string, string>> GroupByFirst
{
get { return _groupbyfirst; }
set
{
_groupbyfirst = value;
NotifyPropertyChanged("GroupByFirst");
}
}
........
GroupByFirst = new ObservableCollection<
GenericGroupDescriptor
<string, string>>();
GroupByFirst.Add(new GenericGroupDescriptor<
string
, string>(RazonSocial => RazonSocial.Substring(0, 1).ToLower()));
and my Model
<
telerikDataControls:RadJumpList
Grid.Row
=
"1"
x:Name
=
"Clientes"
ItemsSource
=
"{Binding Clientes, Mode=TwoWay}"
SelectedItem
=
"{Binding Seleccionado, Mode=TwoWay}"
GroupDescriptorsSource
=
"{Binding GroupByFirst}"
FontSize
=
"{StaticResource PhoneFontSizeMediumLarge}"
Margin
=
"0,50,0,0"
ItemTemplate
=
"{StaticResource ItemTemplate}"
>
</
telerikDataControls:RadJumpList
>
I don´t Know what I doing wrong but I can´t group data.
There are anu example about this?
Thanks