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 not load ....

Thread ID:





120012 Aug 23,2015 01:19 PM UTC Aug 25,2015 10:49 AM UTC Xamarin.Forms 1
Tags: SfDataGrid
Asked On August 23, 2015 01:19 PM UTC

Hi All.

I have 2 sfDataGrid.
One in a tabItem.
One in another TabItem, the hidden.

Both are filled by the same method using ItemsSource = ObservableCollection.

The visible sfDataGrid load data well, the hidden NOT load until I show it, selecting the second tabItem.

To Me this is a BUG.
Strange nobody note this.

There is a workaround for this ?


Harikrishnan N [Syncfusion]
Replied On August 25, 2015 10:49 AM UTC

Hi Arn,

Thank you for using Syncfusion products.

The SfDataGrid will load its data only when it is allocated a size. When loading grid in tab items, the size will be allocated only for the tab item that is in view and hence the grid inside that tab item alone will be loaded. When you click on the second tab item, size is allocated for the grid loaded inside it and that is why the data is loaded only when clicking the second tab item. This is the default behavior.

Please let us know if you have any query.



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