Skip to main content
Version: 2025.2

neonTools

Diese Klasse ist die Entsprechung von JScriptTools für Neon

Methods

resetSettings

resetSettings(pIdentifier): void

Resets all settings that are within the area specified by the identifier.

Summary:

  • Components are separated from each other with a "." (e.g. "ORG_Neon.tbl_Pers", "ORG_Neon.tbl_Pers.FIRSTNAME").

  • Individual properties of components are separated with a ":" from the rest (e.g. "ORG_Neon.tbl_PERS.FIRSTNAME:width").

  • Base for the path always represents the frame.

  • If the pIdentifier is empty, all settings are reset.

Parameters

pIdentifier
string | number | boolean

Identifier described above (not case-sensitive)

Returns

void

Throws

AditoException

Example

neon.resetSettings(); // Reset all settings
neon.resetSettings("ORG_Neon); // Reset all settings on the frame "ORG_Neon"
neon.resetSettings("ORG_Neon.tbl_Pers"); // Reset all settings of table "Tbl_Pers" on the frame "ORG_Neon"
neon.resetSettings("ORG_Neon.tbl_Pers.FIRSTNAME"); // Resets all settings of column "FIRSTNAME" on table "tbl_Pers" of the frame "ORG_Neon"

neon.resetSettings("ORG_Neon.tbl_PERS.FIRSTNAME:width"); // Resets the "width" setting of column "FIRSTNAME" on the Table "tbl_Pers" of the frame "ORG_Neon"