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. Image for the cookie policy date

Issue when combining pull to refresh, frozen columns and horizontal columns

In the pull to refresh sample, if I freeze 2 columns in the grid, I start having problems when scrolling horizontally.
If the scrolling gesture end in the frozen columns area, the pull to refresh animation is shown.
We have the same problem in our own app. I think that it is even worst when you have few columns and few rows. It makes it very hard to use frozen columns in conjunction with pull to refresh.
Is this behaviour expected? Is there a workaround?
Thank you,
Guillaume

2 Replies

GL Guillaume Levasseur January 22, 2016 08:16 PM UTC

I made a mistake in the title: I meant "horizontal scrolling", not "horizontal columns".


SL Sathya Lakshmanan Syncfusion Team January 25, 2016 11:40 AM UTC

Hi Guillaume,

Thanks for using Syncfusion Products.

The SfDataGrid supports diagonal scrolling and hence whenever you scroll horizontally if there is any difference in vertical values between the touch down and touch up points, then the grid scrolls diagonally. In normal scenario the SfDataGrid over scrolls when the vertical offset is negative. In your case since you had enabled PullToRefresh, the grid will update the progress of PullToRefreshView when vertical offset is less than 0. This is the actual behavior of the grid.

You can simply avoid this by scrolling in such a way that there is no negative difference in the touch down and touch up points, when the Vertical offset is zero. In case, if you find it too difficult to use, please let us know so that we can work on it to have a minimum offset to enable the PullToRefreshView’s progress update in any of our upcoming releases.

Regards,
Sathya



Loader.
Live Chat Icon For mobile
Up arrow icon