Hi,
Is it possible to hide/disable specific tabs, by scripts and/or through security? At this moment I only see the entire tabpanel in the method editor and in under Security, but not the individual tabs.
Would be very much appreciated…
Paul
Hi,
Is it possible to hide/disable specific tabs, by scripts and/or through security? At this moment I only see the entire tabpanel in the method editor and in under Security, but not the individual tabs.
Would be very much appreciated…
Paul
Enabling or disable specific tabs is possible by scripting, use elements.tabpanelName.enableTab(index,enable) on a tabpanel.
(first specify a name on the tabpanel)
Thanx for the reply. Will it also be possible trhough Security profiles in the near future?
I have no idea how that whould fit into the profiles.., suggestions are welcome
Dunno where it would fit in in the current setup. I would think that you would need a 3rd level: Form - Tabpanel - Tab
Maybe this would also an idea in the method editor, to gain access to the specific tabs. At this moment it’s only possible to access the specific tabs through scripting (as you probably know allready )
Paul
Ah I see what you mean…but a tab panel is always showing a form, so why don’t you apply the security on that form?
Because I would like the user to be able to acces some of the tabs, but sometimes not all tabs
If you denied view access to form it will not show in on tab
After shutting down my computer last night I thought about it some more and thought that this was probably what you meant.
Now I see what you mean. Thanx for the help.
Paul
I’m looking for a way to HIDE tabs in a tabpanel. Disabling is working fine, but sometimes I do need to hide them totally.
Is there any way to do that? I noticed that it is possible to name the tab, but it doesn’t appear as an element in the tree…
Hoi Karel,
only possible in 2.2!
not in 2.1.2
As of 2.2RC x, it’s possible to remove tabs (and add relationless tabs)
See the functions under a tab in the Elements node of a form.
Paul
Thanks fellows! That’s good news! At this time I’m developing in 2.1.2,
just to make sure I’m not bumping too much into bugs for this project. Just waiting on the final 2.2 release!