selectTab( name, restriction, newRecord, clearRestriction, noRefresh)
selectTab( name, restriction, newRecord, clearRestriction, noRefresh)
Selects and refreshes specified tab page.
Parameters:
-
name(String): tab name; -
restriction(object): (optional) new tab restriction (optional, default = keep old restriction); -
newRecord(boolean): (optional)trueto set the child edit form into new record mode (default =false); -
clearRestriction(boolean): (optional)trueto clear the child panel restriction (default =false); -
noRefresh(boolean): (optional)trueto suppress the tab page refresh (default =false);
Example:
var tabPanel = View.panels.get('tabs');
tabPanel.selectTab('page2');
