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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Scrolling in DataGrid, poor performance with UWP

Thread ID:

Created:

Updated:

Platform:

Replies:

147579 Sep 17,2019 07:58 AM UTC Jul 2,2020 08:01 AM UTC Xamarin.Forms 5
loading
Tags: SfDataGrid
Salva Rondan
Asked On September 17, 2019 09:36 AM UTC

Hello, I have an SfDataGrid with approximately 55 columns and 4 frozen columns, and when scrolling horizontally, nothing works fine, I attach the result.

You can replicate the result in UWP with the Horizontal Scrolling example from your demo, only download the repository from https://github.com/syncfusion/xamarin-demos and modify the next files:
  • xamarin-demos-master\Forms\DataGrid\DataGrid\Samples\Model\OrderInfoRepository.cs changing this method

        internal OrderInfo GenerateOrder(int id)

        {

            var shipcountry = this.shipCountry[this.random.Next(5)];

            var shipcitycoll = this.shipCity[shipcountry];

            var order = new OrderInfo()

            {

                OrderID = (id + 10000).ToString(),

                EmployeeID = this.random.Next(1700, 1800).ToString(),

                CustomerID = this.customerID[this.random.Next(15)],

                IsClosed = (id % this.random.Next(1, 10) > 5) ? true : false,

                FirstName = this.firstNames[this.random.Next(15)],

                LastName = this.lastNames[this.random.Next(15)],

                Gender = this.genders[this.random.Next(5)],

                ShipCity = shipcitycoll[this.random.Next(shipcitycoll.Length - 1)],

                ShipCountry = this.shipCountry[this.random.Next(5)],

                Freight = Math.Round(this.random.Next(1000) + this.random.NextDouble(), 2),

                ShippingDate = this.orderedDates[this.random.Next(15)],

                ShippingDate1 = this.orderedDates[this.random.Next(15)],

                ...

                ShippingDate44 = this.orderedDates[this.random.Next(15)]

            };

            return order;

        }

  • xamarin-demos-master\Forms\DataGrid\DataGrid\Samples\Model\OrderInfo.cs adding this 44 properties at the end

        private DateTime shippingDate1;

        public DateTime ShippingDate1

        {

            get => this.shippingDate1;

            set

            {

                this.shippingDate1 = value;

                this.RaisePropertyChanged("ShippingDate1");

            }

        }

        ...

        ...

        private DateTime shippingDate44;

        public DateTime ShippingDate44

        {

            get => this.shippingDate44;

            set

            {

                this.shippingDate44 = value;

                this.RaisePropertyChanged("ShippingDate44");

            }

        }

  • xamarin-demos-master\Forms\DataGrid\DataGrid\Samples\DiagonalScrolling\DiagonalScrolling.xaml adding to SfDataGrid this line

        FrozenColumnsCount="4"


Waiting for your answers.
Thanks in advance.

Attachment: horizontalscrolling_e4be6dde.7z

Shivagurunathan Kamalakannan [Syncfusion]
Replied On September 18, 2019 01:17 PM UTC

Hi Salvador,  
 
Thank you for contacting Syncfusion support. 
 
  
We have checked the video and analyzed the sample based on the provided code snippet. The issue “Flickering occurs when reusing the view in virtualization control in Xamarin.Form.UWP” is a known issue and the issue occurs from the framework side. We had already logged a bug report in the framework. 
 

We are having follow-up for the same, we will let you know once we got any solution. We appreciate your patience until then. 
 
  
Regards,
Shivagurnathan
 


Salva Rondan
Replied On September 18, 2019 03:12 PM UTC

Thanks for your reply.

Farjana Parveen Ayubb [Syncfusion]
Replied On September 19, 2019 07:03 AM UTC

Hi Salvador, 
 
Thanks for the update. 
 
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you. 
 
Regards, 
Farjana Parveen A 


Benito Gomez
Replied On July 1, 2020 10:39 AM UTC

Hi,

Any update about that problem?

We are using a SfDataGrid with a few columns. The first one is configured with MinimumWidth and ColumnSizer.LastColumnFill. The other columns have fixed Width and ColumnSizer.None. The dataGrid has FrozenColumnsCount = 1.

With this configuration, we are experiencing the same issues exposed in this thread. 

Is available some fix for that? or the problem is still on the Xamarin.Forms side?

Thank you!

Karthikraja Kalaimani [Syncfusion]
Replied On July 2, 2020 08:01 AM UTC

Hi Benito,

 
We have checked with 4.6 Xamarin Forms version but unfortunately the issue still persist from FrameWork side and also we didn’t receive proper update from Xamarin Team. We will let you know once we got proper solution from Xamarin team.

Regards,
Karthik Raja



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.

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

Live Chat Icon For mobile
Live Chat Icon