Closed VegasJohnson closed 1 day ago
So im trying to find the correct commands todo the following with your grid and cant find the correct commands.
private async void dataview_ItemSelected(object sender, SelectionChangedEventArgs e) { await Task.Delay(1000); // Temp DataRowView ID = (DataRowView)dataview.SelectedItem as DataRowView; if (dataview.SelectedItem != null) { string id = ID.Row["Id"].ToString(); await Navigation.PushAsync(new Editjob(id)); } }
Figured it out , I called from the DataList instead of the Datagrid.
var sel = dataview.SelectedItem as Dataview; var id = sel.Id.ToString();
So im trying to find the correct commands todo the following with your grid and cant find the correct commands.