oslistctrl

Part of the DMS object definition (see DMSObjDef, element <listctrl>). Holds the column definitions of a table control (grid — an osobjfields entry with type='W' and control_type='grid'). One entry per column of the table field with data type, length, display width, sort position and optionally a catalog / value list.

1. Columns

Name Type Length Description

osguid

nvarchar

32

External GUID of the table column (os_guid attribute in the XML).

id

int

Internal ID (consistently 0 in the samples).

name

nvarchar

100

Display column name in the default language (name attribute).

internalname

nvarchar

248

Internal name of the column (internal attribute in the XML). Used in the DMS API as internal_name.

type

nvarchar

1

Data type code of the column (type attribute, see field data types). Examples: X = text; D = date; 9 = integer; # = decimal.

fieldname

nvarchar

100

Database column name in the underlying table field (e.g. feld1, zahl1, datum1).

length

int

Maximum length of the column (length attribute).

colwidth

int

Display width of the column in pixels (colwidth attribute).

colpos

int

Position of the column in the table field (colpos attribute), 0-based.

linkid

int

Link ID for linkage to another object type (link_id attribute). 0 = no linkage.

textalign

int

Text alignment within the cell (textalign attribute).

color

int

Font colour of the column (color attribute).

valuesid

nvarchar

32

GUID of the value list (values_id attribute), if the column is sourced from a predefined value list.

catalogtype

int

Catalog type (catalogtype attribute) — 0 = no catalog, 1/2 = catalog variants.

readonly

int

1 = column is read-only (readonly attribute).

  • osobjfields — the parent table field (type='W', control_type='grid') the columns belong to.

  • osobjdef — object types whose masks contain the table fields.