Hello, I have problem with radgridview.
Im using mvvm pattern. In viewmodel i implemented observablecollection which contain rows with data. :
xaml:
<telerik:RadGridView ItemsSource="{Binding MyCollection}"
x:Name="RadGridViewElement"
FilteringMode="Popup"/>
viewmodel:
private ObservableCollection<myrow> myCollection = new ObservableCollection<myrow>();
public kolekcja()
{
generatedata();
}
private void generatedata()
{
myrow row = new myrow();
row.Imie = "aa";
row.Nazwisko = "bb";
myCollection.Add(row);
myrow row1 = new wiersz();
row1.Imie = "cc ";
row1.Nazwisko = "dd";
myCollection.Add(row1);
}
public ObservableCollection<wiersz> MyCollection
{
get { return myCollection; }
set { myCollection = value; }
}
Is there any option to return filtered radgridview data rows (update myCollection ? or save rows to other collection ?) I would like create graph with the filtered data . I looking for the easiest way to create column header filter from GUI (Just like [DisplayAttribute( AutoGenerateField = false )] )
any idea ?
kind regards
Im using mvvm pattern. In viewmodel i implemented observablecollection which contain rows with data. :
xaml:
<telerik:RadGridView ItemsSource="{Binding MyCollection}"
x:Name="RadGridViewElement"
FilteringMode="Popup"/>
viewmodel:
private ObservableCollection<myrow> myCollection = new ObservableCollection<myrow>();
public kolekcja()
{
generatedata();
}
private void generatedata()
{
myrow row = new myrow();
row.Imie = "aa";
row.Nazwisko = "bb";
myCollection.Add(row);
myrow row1 = new wiersz();
row1.Imie = "cc ";
row1.Nazwisko = "dd";
myCollection.Add(row1);
}
public ObservableCollection<wiersz> MyCollection
{
get { return myCollection; }
set { myCollection = value; }
}
Is there any option to return filtered radgridview data rows (update myCollection ? or save rows to other collection ?) I would like create graph with the filtered data . I looking for the easiest way to create column header filter from GUI (Just like [DisplayAttribute( AutoGenerateField = false )] )
any idea ?
kind regards