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

Showing multiple SfDataGrid on the same page.

Thread ID:





131161 Jun 25,2017 12:41 PM UTC Jun 26,2017 09:31 AM UTC Xamarin.Forms 1
Tags: SfDataGrid
Asked On June 25, 2017 12:41 PM UTC


I would like to stack multiple SfDataGrid on the same page. Each of these SfDataGrid can contains several columns so I needed to wrap them in a ScrollView and a StackLayout. By default, the SfDataGrid activates its built in scrolling and each SfDataGrid is crushed into view. Is it possible to simply disable the scrolling in each grid and show the entire content and let the wrapper ScrollView do the scrolling? Each SfDataGrid can contain different column so I cannot use the GroupBy.



Dharmendar Dhanasekar [Syncfusion]
Replied On June 26, 2017 09:31 AM UTC

Hi Jandler,

Thanks for using Syncfusion product.

We have checked your query “loading multiple grid and disable the scrolling in each grid”. You can disable the horizontal scrolling of SfDataGrid by measuring the SfDataGrid with total column width, by default SfDataGrid will be measured with its parent’s width. Since SfDataGrid is derived from Xamarin.Forms.Grid setting HeightRequest and  WidthRequest will not work, hence SfDataGrid should be put inside ContentView to set width and height request . Please refer bugzilla link for more details regarding this.

Bugzilla Link : https://bugzilla.xamarin.com/show_bug.cgi?id=37438 

We have prepared sample based on your query. You can download the same from below link.

Sample Link : http://www.syncfusion.com/downloads/support/forum/131161/ze/Sample-355661756 



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

This page will automatically be redirected to the 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