We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Swipe feature can not be use with Grid Template Column

Thread ID:





123959 May 3,2016 06:28 AM May 4,2016 03:27 PM Xamarin.Forms 1
Tags: SfDataGrid
Yim Suet Joe
Asked On May 3, 2016 06:28 AM

Hi I`m currently facing a problem in using Grid Template Column together with Swipe feature, when I swipe the row it keep saying that "Exception has been thrown by the target of an invocation."

here is my code

<sfgrid:SfDataGrid x:Name="dataGrid"
                       ItemsSource="{Binding ItemsSource}">

      <sfgrid:SfDataGrid.Columns x:TypeArguments="syncfusion:Columns">

        <sfgrid:GridTemplateColumn HeaderText=""
                  <ColumnDefinition Width="Auto" />
                  <ColumnDefinition Width="*" />
                <Image Grid.Column="0"
                       Source="{Binding PatientPic, Converter={StaticResource Convert}}"/>
                <Label Grid.Column="1"
                       Text="{Binding QueueEntryDto.PatientName}" TextColor="Black"
                       XAlign="Center" YAlign="Center"/>
        <!--<sfgrid:GridTextColumn MappingName="Mrn" />
        <sfgrid:GridTextColumn MappingName="PatientName" />
        <sfgrid:GridTextColumn MappingName="VisitId" />-->

      <!--Left Swipe Template-->
          <Grid x:Name="leftSwipe"  BackgroundColor="#009EDA">

            <Label Grid.Column="1"
                   Text ="Call"
                   LineBreakMode ="NoWrap"
                   TextColor ="White" >
                        NumberOfTapsRequired="1" />


      <!--Right Swipe Template-->
          <Grid  BackgroundColor="#1AAA87">

            <Label FontSize="15"
                   HorizontalTextAlignment ="Center"
                   Text ="Attend"
                   TextColor ="White"
                   VerticalTextAlignment ="Center"
                   LineBreakMode ="HeadTruncation" >



Attachment: Views_16bf672f.rar

Vimal Prabhu Manohkaran [Syncfusion]
Replied On May 4, 2016 03:27 PM

Hi Yim Suet Joe, 
Thank you for using Syncfusion Products. 
We were unable to reproduce the reported issue from our side. We have attached the working sample which we created based on your codes and a video reference of the sample. 
In case, if the issue still persists at your side, please do revert us with a modified sample to reproduce the issue with clear replication procedure. 
Vimal Prabhu


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.