1. Script for column name and description

    Article: AN0001901Updated:

    By means of script we can modify also column name, description or tooltip for a column.
    Where to use this script: Class detail: Script for record detail

    In the below example we have used for column name function GetLocText, which returns relevant value according to the user settings.
    function OnAfterLoadColumns()
    {
      OGColumns['name'].Name = OG.GetLocText('cs-CZ:Czech name~en-US:English name~de-DE:Deutscher Name');
      OGColumns['name'].Description = 'My description';
      OGColumns['name'].HelpText = 'My help';
    }

×