Activate child tab with ApppginiHelper
Posted: 2020-11-06 07:33
Hello! I repost here a question about the new feature "Activate child tab" of the AppginiHelper, because this is the most specific forum:
I recentlly installed the new version of the AppGiniHelper and I tried to activate a child tab in the detail view of the parent table.
I have the parent table (company) and the child table (department). First, I put in a tab all the fields of the parent table (the tab is called "Information"), and it works. Then, I tried too activate the child tab and to hide one of its columns. This is my code (in company-dv.js):
var dv = AppGiniHelper.DV;
var tab2 = dv.getChildrenTabs();
tab2.activate("department");
tab2.hide("department", "address");
Hiding the column, it works, but no child tab is shown after the tab "Information". The child tab is still shown under the "Information" tab.
Maybe I'm missing something...
Thanks in advance
I recentlly installed the new version of the AppGiniHelper and I tried to activate a child tab in the detail view of the parent table.
I have the parent table (company) and the child table (department). First, I put in a tab all the fields of the parent table (the tab is called "Information"), and it works. Then, I tried too activate the child tab and to hide one of its columns. This is my code (in company-dv.js):
var dv = AppGiniHelper.DV;
var tab2 = dv.getChildrenTabs();
tab2.activate("department");
tab2.hide("department", "address");
Hiding the column, it works, but no child tab is shown after the tab "Information". The child tab is still shown under the "Information" tab.
Maybe I'm missing something...
Thanks in advance