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-21-2005, 04:04 AM
Project Contributor
 
Posts: 54
Default DwtListView, DvListView and DwtTree

Looking at the DataViewer example and more precisely the DvListView class.

Why does the function DvListView.prototype._createItemHtml create a new html table for each row ? Would it be possible to have only 1 html table for the whole listView and get the same behavior ?

Once I'm done, I'd like to have something similar to the first attached image below.
I'd want to have a tree on the left, containing nodes with complex data. I'd like to have the red lines on the image being sash so I could resize the view depending on the size of the data. Of course, if a tree node collapses, all the information of its node needs to be hidden.

I am still asking myself what would be the best solution and you might be able to help me since you have a bigger experience. I was thinking of making a Composite that would hold a DwtTree and right next to it, put a DwtListView. I would also put a DwtSash between the Tree and the ListView, as shown in the second attached file ?
What do you think ? Is there an easier/simpler way of doing the same thing ?

Thanks in advance for any help.
Attached Images
File Type: gif treeAndColumns.gif (7.7 KB, 263 views)
File Type: gif design.gif (10.6 KB, 224 views)

Last edited by Heladito; 11-21-2005 at 04:08 AM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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.