Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Additional WHERE tabs API > Methods

Additional WHERE tabs API: setTabTitle

Scroll Prev Next More

 

The setTabTitle method sets the title of one of the Additional WHERE tabs on the List, Print, Export, or Chart page. This method should be used in the After table initialized event only.

Syntax

WhereTabs::setTabTitle($table, $id, $title);

Argument

$table

the name of the table name in which to modify the tabs. Use the $table variable provided in the After table initialized event.

$id

the ID of the tab.

$title

the title of the tab.

Return value

true

if the title was set.

false

in all other cases.

Example

Set a new title to the tab:

 

WhereTabs::setTabTitle($table, "anton", "ANTON orders");

See also:

Additional WHERE tabs API: addTab

Additional WHERE tabs API: deleteTab

Additional WHERE tabs API: setTabWhere

SQL query screen: Additional WHERE tabs

Event: After table initialized

About Additional WHERE tabs API

 

Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software