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) true to set the child edit form into new record mode (default = false );
  • clearRestriction (boolean): (optional) true to clear the child panel restriction (default = false );
  • noRefresh (boolean): (optional) true to suppress the tab page refresh (default = false );


Example:

var tabPanel = View.panels.get('tabs');
tabPanel.selectTab('page2');