Revision history [back]

click to hide/show revision 1
initial version

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

elmetni gravatar image elmetni

fill Navbar with MvvM

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 , can u help me pls with an exemple?

fill Navbar with MvvM

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"/>
</navbar>

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

can u help me pls with an exemple?pls?

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