-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I want to add to a toolbar inside a tabbox more options, like a search textbox, and some other stuff not really related with the tabbox. Is that possible?
I am building a inbox messages page. The idea would be, have the 2 tabs that I'll need, Inbox and Outbox, a search textbox, to filter messages, a reload message button, and some other buttons. Also, I'd like some buttons centered, and the search box aligned to the right.
Thanks for your answer in advance.
Hi Ajamardo,
Regarding the toolbar, you can only use toolbar buttons inside. However, you can simply put some labels, buttons or other components in a container (div, hlayout, etc) and just apply a style to them with CSS and Sclass if you want to create a customized menu. Unless you need some specific feature from the toolbar component there.
Any specific reason to use tabbox in this case? Sounds like a good use case for <apply> if you are working with MVVm. Tabbox will let you swap between multiple containers but it will also keep hidden objects in memory on client side. Even better, if your page structure is the same on box inbox and outbox, just replace the models on the existing email list.
Have a look here for a quick example of how it could be built: http://zkfiddle.org/sample/39504je/5-emailbox-toolbar-and-layout
Hope this helps :)
Asked: 2017-08-29 17:00:29 +0800
Seen: 7 times
Last updated: Aug 30 '17
Transparent text on ZK7 toolbar
Toolbutton selection frame not shown on mouse over when "update" is true
Spreadsheet - removing button from toolbar
Case Study: Read how ZK worked its magic on Iten's real time OEE system!
How to Use Jruby in zk8 version in MVVM and MVC classes