Please enable JavaScript to view this site.

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

Additional WHERE tabs API: setTabShowCount

Scroll Prev Next More

 

The setTabShowCount enables displaying records count on 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.setTabShowCount(table, id, showCount);

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.

showCount

display record count if true, do not display if false.

Return value

no return value

Example

Make record display on WHERE tab with id "anton":

 

WhereTabs.setTabShowCount(table, "anton", true);

See also:

Additional WHERE tabs API: addTab

Additional WHERE tabs API: deleteTab

Additional WHERE tabs API: setTabTitle

SQL query screen: Additional WHERE tabs

Event: After table initialized

About Additional WHERE tabs API