Skip to main content
Version: 11.2

Cols.displayLength()

note

This article is about the displayLength() function of the Cols object.

Cols.displayLength()

Gets the display length of the first column in scope.

Returns an integer.

Syntax

$.udb( *ds* ).cols( [columns] ).displayLength()

The required ds parameter is a data source selector.

The optional columns is a column selector. If omitted, all columns in scope are selected.

Example

let len = $.udb('EMP').cols('EMPNO').displayLength();