:: Forum >>

Speed of scrolling

Hi,

I want to know, if it is possible to improve speed of scrolling. I tested ActiveWidgets grid againts commercial grid(javascript) and commercial grid was 1 times quicker.

Thanks
cbotta
Thursday, January 29, 2004
Yes, I know this problem (but don't know the solution yet). That was a design decision to have the main content and the scrollbars as separate DIVs (synchronized through scrollLeft/scrollTop properties). If you allow scrollbars on the main content - it makes other things quite complicated.

If anyone can suggest how to speed up the scrolling - that will be very helpful.
Alex (ActiveWidgets)
Friday, January 30, 2004
Thanks for reply. But, your grid is more flexible. I like it. I think that you will find the way to improve speed. The problem is only when you srolling by one row up or down. Try to look http://developer.ebusiness-apps.com/technologies/webdevelopment/codeandcomponents/ebagrid/.
cbotta
Friday, January 30, 2004
solution variant :

Use 2 Divs

<div id=DIV_HOR style="overflow:-moz-scrollbars-vertical;overflow-x:scroll;overflow-y:hidden;"
>
.....
<!--- captions here --->
.....
<div id=DIV_VERT
style="overflow:-moz-scrollbars-horizontal;overflow-x:hidden;overflow-y:scroll;"
>

<!-- here must be grid data -->

</div><!-- DIV_VERT END -->
........
</div><!-- DIV_HOR END -->


here you get native scrollers without any javascript synchronization.

DIV_HOR must be used for horizontal scrolling grid head and content.
DIV_VERT must be used for vertical scrolling grid content.

Notes:
1. this works in IE & Mozilla/Firebird , but i don't know about working this tip in Opera =((
2. Might be problem with locations of scrollbars.



Michael Pustovalov, TM Systems Dept., STC PROTEI (www.protei.ru)
Tuesday, February 10, 2004
Sorry for Error :

Right style for DIV_HOR must be
style="overflow:-moz-scrollbars-horizontal;overflow-x:scroll;overflow-y:hidden;"

and

Right style for DIV_VERT must be
style="overflow:-moz-scrollbars-vertical;overflow-x:hidden;overflow-y:scroll;"
Michael Pustovalov, TM Systems Dept., STC PROTEI (www.protei.ru)
Tuesday, February 10, 2004

This topic is archived.


Back to support forum

Forum search