Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-30-2005, 08:42 AM
Project Contributor
 
Posts: 54
Default DvViewer example - column headers are not scrolled

In the DataViewer example, if you move the Sash to the right far enough, you'll get a scrollbar at the bottom since the space remaining for the listview is too small to show all the data.

However, if you use this scrollbar, the data will be correctly scrolled, but the column headers won't move. Thus, the headers won't mean anything relevant.

Is this a bug or is there a way to make the whole thing move (headers + data) ?

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 12-01-2005, 01:27 AM
Senior Member
 
Posts: 51
Default

I also saw this problem. Maybe this can be solved with an onscroll event or a by putting the two seperates DIVS (header & body columns) in a parent DIV and let the parent DIV scroll.

Or maybe we must adopt the solution they use in the Zimbra client application. Don't let the columns get bigger then the listview by making an other column smaller when you make one column bigger.
Reply With Quote
  #3 (permalink)  
Old 12-01-2005, 01:30 AM
Project Contributor
 
Posts: 54
Default

Quote:
Originally Posted by smies
I also saw this problem. Maybe this can be solved with an onscroll event or a by putting the two seperates DIVS (header & body columns) in a parent DIV and let the parent DIV scroll.
Have you tried that allready ?
Reply With Quote
  #4 (permalink)  
Old 12-01-2005, 02:07 PM
Zimbra Employee
 
Posts: 269
Default

This is a known bug and as Smied pointed out, we avoid this issue by not allowing columns widths to exceed the width of the window. Using the onscroll event to move the DIV containing the column headers is definitely the right fix.

In fact, ZmCalColView.js uses onscroll to keep the horizontal scrolling in week views in sync (see ZmCalColView.prototype._syncScroll if you're really curious).
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.