I have implemented tree widget based on gridedit, code is here https://github.com/html/weblocks-tree-widget Demo is here http://weblocks-demo.olexiy.info/ Currently only view mode for widget works ok.
вторник, 26 мая 2009 г., 23:37:42 UTC+3 пользователь Keith M. Corbett написал: > > This is something I want to do that, for all I know, could be easy, or > perhaps it is very hard. > > I need a tree widget, like a directory browser. The widget should > display a tree where each node is a hyper-link that performs an action > to browse and re-render the tree. (In HTML terms, this could be > implemented as nested unordered lists, or alternatively as a table.) > Each hyper-link represents either a branch or a terminal node, like a > directory or a file. If the user clicks on a branch link, I want the > widget to "open" that branch and display its children, and close > anything that was "open" before. > > Associated with some nodes would be additional links that the user > could click on to perform some other actions. > > Q: Using Weblocks, would it be necessary to render each of the tree > browser links as a hyper-link to the entire page and redisplay the > entire tree? > > Maybe I should be looking beyond Weblocks to do this? > > -Keith > -- You received this message because you are subscribed to the Google Groups "weblocks" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/weblocks. For more options, visit https://groups.google.com/groups/opt_out.
