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.
Syncfusion Feedback

Layout doesn't resize when tablet changes its orientation

Thread ID:

Created:

Updated:

Platform:

Replies:

132313 Aug 25,2017 10:39 AM UTC Nov 12,2017 03:34 PM UTC Xamarin.Android 3
loading
Tags: SfDataGrid
Sandra Reunion
Asked On August 25, 2017 10:39 AM UTC

Hello,

We have a grid using practically all the window. If we load the window in portrait and we change to landscape, The grid doesn't resize to use all the window.

What can we do?

Regards

Ashok N [Syncfusion]
Replied On August 28, 2017 10:37 AM UTC

Hi Sandra,      
      
Thanks for contacting Syncfusion support.   
   
We have checked the reported SfDataGrid not resizing based on the orientation issue in Xamarin.Android but we are not able to reproduce the reported this. SfDataGrid resized properly based on the orientation change. For your reference we have attached the working copy of the sample in the below sample location, please refer it. Could you please do revert us by modifying our sample to replicate the issue. Otherwise please share your SfDataGrid definition code snippet, also please share the details if you use any layout for loading SfDataGrid or share your sample along with replication procedure, that would be more helpful for us to proceed further.       
      
     
Regards,      
Ashok  


Andrey
Replied On November 9, 2017 11:33 AM UTC

I have the same problem. I have GridView inside Fragment. When I rotate to landscape not all columns draws (last 3 columns missed). On screenshots you can see that DataGrid is resized correctly but columns not draw. If I tap on datagrid on that moment and scroll a little than culumns appers. I tried evereting. After rotation I called DataGrid.Invalidate(), DataGrid.PostInvalidate(), DataGrid.RequestLayout(), DataGrid.GridColumnSizer.Refresh(). Nothing helps me
Attachment: Screenshots_b40731f7.zip

Ashok N [Syncfusion]
Replied On November 12, 2017 03:34 PM UTC

Hi Andrey,       
       
Thanks for contacting Syncfusion support.    
    
We have prepared SfDataGrid sample by loading inside fragment with 20 GridColumns and tested by changing SfDataGrid orientation in both portrait and landscape in Xamarin.Android but we are not able to reproduce the reported this. SfDataGrid resized properly based on the orientation change. For your reference we have attached our tested video and working copy of the sample in the below sample location, please refer it. Could you please do revert us by modifying our sample to replicate the issue. Otherwise please share your SfDataGrid definition code snippet or share your sample along with replication procedure, that would be more helpful for us to proceed further.        
       
 
      
Regards,       
Ashok   


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.

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

;