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