You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Julien Desquenne <jd...@polyedre.fr> on 2024/04/02 13:07:10 UTC

Datagrid performance on laptop with touchscreen

Dear Apache Flex community,

I am reaching out to inquire about a performance issue I have 
encountered with the DataGrid component when running my application on 
touchscreen laptops. Specifically, when scrolling the DataGrid (i.e., 
scrolling down to search for a row), the performance is very slow. In 
comparison, when running the application on a laptop without a 
touchscreen, scrolling is very fast and smooth.

The issue seems to be consistent across different touchscreen laptops, 
including the Asus ZenBook Duo 14 (UX482) and older Lenovo Yoga models. 
I was wondering if anyone else in the community has encountered similar 
performance issues with DataGrid on touchscreen laptops.

Any insights, suggestions, or experiences related to this issue would be 
greatly appreciated. Thank you for your time and assistance.

Best regards,

Julien

Re: Datagrid performance on laptop with touchscreen

Posted by VINCENT JUGE <vi...@after24.net>.
Unfortunately, this feature is only implemented for the Spark scroller 
component used by the Spark Datagrid.

Is it possible for you to switch to the Spark Datagrid ?


Le 02/04/2024 à 15:39, Julien Desquenne a écrit :
> Hello Vincent, thank you for your suggestion.
>
> Actually, I'm currently using the mx.controls.DataGrid component in my 
> application, which doesn't have a maxDragRate property like the 
> Scroller component.
>
> Best regards,
>
> Julien

Re: Datagrid performance on laptop with touchscreen

Posted by Julien Desquenne <jd...@polyedre.fr>.
Hello Vincent, thank you for your suggestion.

Actually, I'm currently using the mx.controls.DataGrid component in my 
application, which doesn't have a maxDragRate property like the Scroller 
component.

Best regards,

Julien

Re: Datagrid performance on laptop with touchscreen

Posted by VINCENT JUGE <vi...@after24.net>.
Hi,

You can try setting the  maxDragRate static property of the Scroller to 
its maximum (60 fps)

Scroller.maxDragRate = 60; Vincent.


Le 02/04/2024 à 15:07, Julien Desquenne a écrit :
> Dear Apache Flex community,
>
> I am reaching out to inquire about a performance issue I have 
> encountered with the DataGrid component when running my application on 
> touchscreen laptops. Specifically, when scrolling the DataGrid (i.e., 
> scrolling down to search for a row), the performance is very slow. In 
> comparison, when running the application on a laptop without a 
> touchscreen, scrolling is very fast and smooth.
>
> The issue seems to be consistent across different touchscreen laptops, 
> including the Asus ZenBook Duo 14 (UX482) and older Lenovo Yoga 
> models. I was wondering if anyone else in the community has 
> encountered similar performance issues with DataGrid on touchscreen 
> laptops.
>
> Any insights, suggestions, or experiences related to this issue would 
> be greatly appreciated. Thank you for your time and assistance.
>
> Best regards,
>
> Julien