Hi guys,
I cannot seem to find a way to show/hide or add/remove tab bar options. We have implemented a tabbar solution similiar to docs.dhtmlx.com/touch/doku.php?id=multiview but we need to be able to dynamically change the tabbar options, or even just hide/disable them.
This is the structure
{ view:‘tabbar’, multiview:true, batch:‘batch2’,id:‘maintabbar’,
options: [
{ view:“label”, label:‘Home’, src: ‘icons/home.png’, srcSelected: ‘icons/home.png’, value: ‘hometab’, id: ‘hometab’},
{ view:“label”, label:‘Details’, src: ‘icons/me.png’, srcSelected: ‘icons/me.png’, value: ‘staffdetails’, id: “staffdetails”},
{ view:“label”, label:‘Jobs’,src: ‘icons/toolbox_sm.png’, srcSelected: ‘icons/toolbox_sm.png’, value: ‘jobstab’, id: ‘jobstab’},
{ view:“label”, label:‘Payments’,src: ‘icons/eurosy.png’, srcSelected: ‘icons/eurosy.png’, value: ‘wagestab’, id: ‘wagestab’},
{ view:“label”, label:‘Avail’,src: ‘icons/calendar.png’, srcSelected: ‘icons/calendar.png’, value: ‘availtab’, id: ‘availtab’}
]
}
the code $$(‘availtab’).hide(); does not work?
any ideas
thanks
Cyril.