NEW: Hide / Show custom tabs

Version 2020/10

Similar to fade in / fade out function you can conditionally hide or show custom tabs in Detail View without fading-animation.

Code

// file: hooks/TABLENAME-dv.js
var dv = AppGiniHelper.DV;
dv.addTab("tabContact", "Ansprechpartner", "user", ["label", "first_name", "..."]);
dv.addTab("tabAssignment", "Zuordnung", "link", ["partner_id", "position", "..."]);
var tabMeta = dv.addTab("tabMeta", "Meta", null, ["created_on", "created_by"]);

tabMeta.hide();

Hide custom tab

tab.hide();

Show custom tab

tab.show();

See also

Do you like it?