Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Project Settings API > Methods

Project Settings API: getDetailsTables()

Scroll Prev Next More

 

Returns the names of tables configured as details of the current table.

Syntax

settings.getDetailsTables();

Arguments

No arguments.

Return value

An array containing detail table names. Returns an empty array if the table has no details.

Example

Display the detail tables linked to the Orders table.

var settings = new ProjectSettings("Orders");
var tables = settings.getDetailsTables();
 
foreach (KeyValuePair<XVar, dynamic> table in tables.GetEnumerator())
{
MVCFunctions.Echo(table.Value + "<br>");
}

See also:

getDetailsKeys()

About Project Settings API