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.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

124547 Jun 13,2016 11:34 AM Aug 18,2016 02:00 PM Xamarin.Forms 4
loading
Tags: SfDataGrid
iuli
Asked On June 13, 2016 11:34 AM

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:SfDataGrid.GroupColumnDescriptions>
      <syncfusion:GroupColumnDescription ColumnName="ProjectName"/>
     </syncfusion:SfDataGrid.GroupColumnDescriptions>

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

    
    <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"/>
    </syncfusion:SfDataGrid.Columns>
  </syncfusion:SfDataGrid>


iuli
Replied On June 13, 2016 11:42 AM

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

Sathya Lakshmanan [Syncfusion]
Replied On June 14, 2016 09:45 AM

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.

Regards,
Sathya
 


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

Hi,

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

Thanks,
Ahmet

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

Hi Ahmet, 
 
We have checked the reported issue against our 14.2.0.26 and 14.2.0.28 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 14.2.0.26 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. 
 
Regards, 
Divakar. 


CONFIRMATION

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.

;