Please enable JavaScript to view this site.

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

Additional WHERE tabs API: deleteTab

Scroll Prev Next More

 

The deleteTab method deletes 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::deleteTab($table, $id);

Arguments

$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 to be deleted.

Return value

No return value.

Example

Delete the "anton" tab:

 

WhereTabs::deleteTab($table, "anton");

See also:

Additional WHERE tabs API: addTab

Additional WHERE tabs API: setTabTitle

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