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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfDataGrid is not working on iOS, but works fine on Android (we are using Xamarin.Forms)

Thread ID:





124547 Jun 13,2016 03:34 PM UTC Aug 18,2016 06:00 PM UTC Xamarin.Forms 4
Tags: SfDataGrid
Asked On June 13, 2016 03:34 PM UTC

Hello we are using SfDataGrid with XAML and it works perfect on Android, but on iOS we have some problems.
When ItemsSource is empty collection (Count=0)  we can see the SfDataGrid header. If the collection is not empty (Count > 0),  the view loads but does not show. 
When we remove the converters of the display binding, the view loads but page is blank.
This is our code:
 <syncfusion:SfDataGrid x:Name="dataGrid" ColumnSizer="Star" AutoGenerateColumns="False"  ItemsSource="{Binding TimeRegistrations}" >
      <syncfusion:GroupColumnDescription ColumnName="ProjectName"/>

      <syncfusion:SortColumnDescription ColumnName="TaskName"
                                        SortDirection="Ascending" />

    <syncfusion:SfDataGrid.Columns x:TypeArguments="syncfusion:Columns">
      <syncfusion:GridTextColumn HeaderText="Task" MappingName="TaskName" HeaderCellTextSize="14" CellTextSize="12" TextAlignment="Start"/>
      <syncfusion:GridTextColumn HeaderText="Invoicing" MappingName="InvoicingStatus" DisplayBinding="{Binding InvoicingStatus, 
                                   Converter={StaticResource TaskInvoicingTypeLanguageConverter}}" HeaderCellTextSize="14" CellTextSize="12"/>
      <syncfusion:GridTextColumn HeaderText="Hours" MappingName="HourDuration" DisplayBinding="{Binding HourDuration, 
                                   Converter={StaticResource HourDurationDecimalToTimeSpanConverter}}" HeaderCellTextSize="14" CellTextSize="12" Width="70"/>

Replied On June 13, 2016 03:42 PM UTC

We have added  SfDataGridRenderer.Init(); in AppDelegate -> FinishedLaunching.

Sathya Lakshmanan [Syncfusion]
Replied On June 14, 2016 01:45 PM UTC

Hi iuli,

Thanks for using the Syncfusion Products.

We have analyzed your query and we were able to reproduce the issue. However, we have already noticed and fixed this issue internally and the fix will be available in upcoming volume 2 main release which is scheduled to be release by the end of this week.


Ahmet Cihat Ünaldi
Replied On August 18, 2016 10:35 AM UTC


Did the problem solved? For the volume 2 main release (version I am experiencing the same problem.


Divakar Subramaniam [Syncfusion]
Replied On August 18, 2016 06:00 PM UTC

Hi Ahmet, 
We have checked the reported issue against our and version of assemblies and the issue has been resolved in both versions. For your reference, we have attached the sample in which we tested with version of assemblies referred locally and you can download the same from the below link. 
Please check whether you have referred the same version of assemblies in both the PCL and renderer projects. 
In case, if issue still persist at your end then please do revert with the modified sample reproducing the issue. 


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon