fill Navbar with MvvM

asked 2014-08-03 06:00:36 +0800

elmetni gravatar image elmetni
145 7

updated 2014-08-03 06:18:46 +0800

hello everyone

i am working on a project using ZK , what i want to do now is to create a menu using Navbar componant from a List from my ViewModel .

but i didnt know how to do it , here is a static example of my navBar menu

<navbar  width="160px" id="navbar" sclass="nav-list" orient="vertical">
        <navitem label="Dashboard" iconSclass="z-icon-dashboard" />
        <navitem label="Typography" iconSclass="z-icon-text-width"/>
               <navitem label="Typography2" iconSclass="z-icon-text-width"/>
              <navitem label="Typography3" iconSclass="z-icon-text-width"/>

what i want to do is to fell those navitem from a List in my view-model

can u help me pls?

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
link publish delete flag offensive edit


thank you :D

elmetni ( 2014-08-03 16:54:18 +0800 )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

1 follower



Asked: 2014-08-03 06:00:36 +0800

Seen: 21 times

Last updated: Aug 03 '14

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