private void cbSort_SelectionChanged(object sender, SelectionChangedEventArgs e) { var tekst = cbSort.SelectedItem as string; view = CollectionViewSource.GetDefaultView(Akcija.Order(tekst)); dgAkcija.ItemsSource = view; }
private void cbSort_SelectionChanged(object sender, SelectionChangedEventArgs e) { var tekst = cbSort.SelectedItem as string; view = CollectionViewSource.GetDefaultView(Akcija.Order(tekst)); dgAkcija.ItemsSource = view; }