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. Image for the cookie policy date
close icon

Lot of crashes executing on iPad

Hi!

We are using SFDataGrid and SFDataPager and we are finding lot of crashes:
  • If we try to filter the collection and refresh the list, after some time the app crash with a SIGSEGV and close... no way to avoid it....
  • If we use the SfDataPager filter options and do a RefreshFilter, all seems to work great until the filter only returns 2 items: the datagrid don't show them.
  • In iPad, when we try to change the selected Page Using sfDataPager.MoveToNextPage or sdDataPager.MoveToPreviousPage, the call fails with error: "System.InvalidOperationException: No method 'Skip' exists on type 'System.Linq.Queryable'."
  • The same call works perfectly on iPad simulator.

The code we are using to create and initialize the DataGrid and DataPager is:

  sfDataPager = new SfDataPager();
  sfDataPager.PageSize = 11;
           this.CreateBinding(sfDataPager).For(sf => sf.Source).To((ReadingRoomViewModel vm) => vm.MeetingsList).Apply();

           sfDataPager.NumericButtonBackground = UIColor.Blue;
           sfDataPager.NumericButtonCount = 10;
           sfDataPager.TintColor = Colors.WaterBlue();
           sfDataPager.SelectionForeground = Colors.WaterBlue();
           sfDataPager.AutoEllipsisText = "...";
           sfDataPager.AutoEllipsisMode = AutoEllipsisMode.Both;
           

           sfGrid = new SfDataGrid();
           sfGrid.ItemsSource = sfDataPager.PagedSource;

           sfGrid.GridStyle = new CustomDataGridStyle();
           sfGrid.HeaderRowHeight = 35;        
           sfGrid.RowHeight = 45;
           sfGrid.SelectionMode = SelectionMode.None;
           sfGrid.AllowSorting = true;
           sfGrid.ColumnSizer = ColumnSizer.LastColumnFill;
           sfGrid.AutoGenerateColumns = true;

Anything we can do to fix this kind of errors? For now, the control we just buy seems really useless in Xamarin.iOS...

2 Replies

VP Vimal Prabhu Manohkaran Syncfusion Team May 8, 2016 08:16 PM UTC

Hi Yeray Julian,

Sorry for the incovenience. We are working on the reported issue with the highest priority and we will update you with further details on 9-5-2016.

Regards,
Vimal Prabhu 



DD Dharmendar Dhanasekar Syncfusion Team May 9, 2016 12:31 PM UTC

Hi Yeray Julian,

Thanks for your patience.
 
   
1. Regarding issue “If we try to filter the collection and refresh the list, after some time the app crash with a SIGSEGV and close... no way to avoid it....”   
We were unable to reproduce the issue from our side. Please provide us more details regarding the issue.  
 
2. Regarding issue “If we use the SfDataPager filter options and do a RefreshFilter, all seems to work great until the filter only returns 2 items: the datagrid don't show them.”   
  
We were able to reproduce the mentioned issue. We have fixed it internally and the fix will be available in our upcoming 2016 VOL 2 main release which is scheduled in the mid of June.   
   
3. Regarding issue “ In iPad, when we try to change the selected Page Using SfDataPager.MoveToNextPage or SfDataPager.MoveToPreviousPage, the call fails with error: "System.InvalidOperationException: No method 'Skip' exists on type 'System.Linq.Queryable'."”   
            
This issue is a result of a break in the Xamarin framework. We have already reported the same and got it fixed by Xamarin. Please find below Bugzilla link for the issue details.   
   
   
Since, we were unable to reproduce the error from our side. Please update to the latest version of XCode and Xamarin to overcome this. Please find the machine configuration as follows.   
   
=== Xamarin Studio Business ===   
   
Version 5.10.3 (build 51)   
Installation UUID: c9ed2e82-4830-4fe3-80d3-4a3bf50cb670   
Runtime:   
Mono 4.2.3 (explicit/832de4b)   
GTK+ 2.24.23 (Raleigh theme)   
   
Package version: 402030004   
   
=== Apple Developer Tools ===   
   
Xcode 7.2.1 (9548.1)   
Build 7C1002   
   
=== Xamarin.iOS ===   
   
Version: 9.6.1.9 (Xamarin Business)   
Hash: 5f11db8   
Branch: master   
Build date: 2016-03-25 21:26:55-0400   
   
=== Operating System ===   
   
Mac OS X 10.11.3   
Darwin Synclapn6079s-MacBook-Pro.local 15.3.0 Darwin Kernel Version 15.3.0   
Thu Dec 10 18:40:58 PST 2015   
root:xnu-3248.30.4~1/RELEASE_X86_64 x86_64   
   
   
Regards,   
Dharmendar    
 


Loader.
Live Chat Icon For mobile
Up arrow icon