private void PretaziUsluge_Click(object sender, RoutedEventArgs e) { string naziv = tbPretraga.Text; viewPretraga = CollectionViewSource.GetDefaultView(DodatnaUsluga.PretragaDodatnaUsluga(naziv)); dgUsluge.ItemsSource = viewPretraga; }
private void PretaziUsluge_Click(object sender, RoutedEventArgs e) { string naziv = tbPretraga.Text; viewPretraga = CollectionViewSource.GetDefaultView(DodatnaUsluga.PretragaDodatnaUsluga(naziv)); dgUsluge.ItemsSource = viewPretraga; }