async void Handle_GridTapped(object sender, Syncfusion.SfDataGrid.XForms.GridTappedEventArgs e)
        {
            clsCaptionValue category = new clsCaptionValue();

            category = ((clsCaptionValue)e.RowData);

            if (category != null)
            {
                await Navigation.PushAsync(new Equipments(category.Caption));
            }
        }
Exemple #2
0
        async void Handle_GridTapped(object sender, Syncfusion.SfDataGrid.XForms.GridTappedEventArgs e)
        {
            try
            {
                clsCaptionValue category = new clsCaptionValue();
                category = ((clsCaptionValue)e.RowData);

                if (category != null)
                {
                    await Navigation.PushAsync(new EquipmentDetails(category.Caption, null));
                }
            }
            catch (Exception ex)
            {
                //await DisplayAlert("error", ex.Message, "ok");
                //this is to avoid app be crash when the user press the grid header.
            }
        }