0

How to implement hierarchy with listbox?

asked 2013-01-29 23:36:43 +0800

ntsetso gravatar image ntsetso
59 1 4

updated 2013-01-30 04:14:27 +0800

I’m referring to the grid hierarchy demo.

I have a listbox which I’d like each listitem to expand to show children listitems in the same way exemplified with the grid. This is because I need the children listitems to be selectable by user clicking.

The demo description says: ‘ZK allows components to contain other components to form a hierarchy of components where the inner components can be loaded only when they are needed this is done using ZK's detail tag and the fulfill attribute set to the event "onOpen"’

The description led me to think that the same technique could be used with listbox. Is that possible? Or is there some way to achieve the same with listbox?

TIA, ntsetso

delete flag offensive retag edit

Comments

Did you look at the Tree component?

jj ( 2013-01-30 05:33:46 +0800 )edit

Thank for your answer. I'll try both the List Group and the Tree component.

rgds, ntsetso

ntsetso ( 2013-01-30 08:03:52 +0800 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2013-01-30 06:47:07 +0800

sjoshi gravatar image sjoshi flag of India
3493 1 8
http://zkframeworkhint.bl...

For this you can use ZK Groupbox it will help you resolve the issue mentioned by you but you have to customized this according to your requirements.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-01-29 23:36:43 +0800

Seen: 33 times

Last updated: Jan 30 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More