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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Wrong scroll positioning on incremental load

Thread ID:

Created:

Updated:

Platform:

Replies:

130205 Apr 27,2017 01:09 PM UTC May 2,2017 11:37 AM UTC Xamarin.Forms 5
loading
Tags: SfDataGrid
Clint Anderson
Asked On April 27, 2017 01:09 PM UTC

I have implemented incremental loading for one of my grid using an IncrementalList.  When the bottom of the list is reached if additional rows are available, a little view at the bottom is presented telling the user that more rows are loading, and and asynchronous call is made to the server that returns a new set of rows adds them to the IncrementalList and hides the view at the bottom.

This is working great. However, when the new items are added to the list, the grid scrolls in a weird way.  The list scrolls back up about 10 rows or so.  So instead of the previous last item still being at the bottom of the visible list, that row is scrolled up to the top half of the screen.  This sudden jerk of the new rows being added is jarring and a bit confusing to the user.  Is there a way to fix this behavior?

Vimal Prabhu Manohkaran [Syncfusion]
Replied On April 28, 2017 05:50 PM UTC

Hi Clint,

Thanks for using Syncfusion products. We have analyzed your query and we were not able to replicate the reported issue and is working fine for us. We have prepared a sample to achieve your requirement of fetching data from online servers when reaching the bottom. Please find the sample from the below link.

Sample Link : http://www.syncfusion.com/downloads/support/forum/130205/ze/SfDataGrid_Demo-1356751296

If the issue persists, please revert us with a working sample which will enable us to serve you better.

Regards,
Vimal Prabhu

Clint Anderson
Replied On April 28, 2017 06:02 PM UTC

I apologize, I just realized this was posted in the wrong place.  It should be for Xamarin.iOS that I was having the issue.

Dharmendar Dhanasekar [Syncfusion]
Replied On May 1, 2017 10:27 AM UTC

Hi Clint,

We have analyzed your query and we were not able to replicate the reported issue in Xamarin.iOS too and is working fine for us. We have prepared a sample your requirement. Please find the sample from the below link

Sample Link : http://www.syncfusion.com/downloads/support/forum/130205/ze/Incremental_Loading757073165.zip 

In case, if the issue still reproduce at your end, please revert us with a replicating sample which will enable us to serve you better.

We have also attached sample video for your reference you can download the same from below link.

Sample Video Link : http://www.syncfusion.com/downloads/support/directtrac/130205/ze/Sample_Video1801658466 

Regards,
Dharmendar
 


Clint Anderson
Replied On May 1, 2017 09:11 PM UTC

I was able to reproduce the problem in the sample you provided.  It appears that it can occur when using grid.QueryRowHeight += Grid_QueryRowHeight;  I used code nearly identical to the what was provided for me in a previous example for this.



Attachment: ScrollingDemo_947c9c52.zip

Sivaraman Sivagurunathan [Syncfusion]
Replied On May 2, 2017 11:37 AM UTC

Hi Clint Anderson, 
 
Thanks for your update. 
 
We confirm that the issue “Wrong scroll positioning on incremental load when using QueryRowHeight” is a defect. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates.  
 
 
Regards, 
Sivaraman 


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

;