Skip to main content
Version: 11.2

Cols.isInputAllowed()

note

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

Cols.isInputAllowed()​

Detects whether new input may be entered for the first column in scope. Use this, for example, for a column of an inserted record.

Returns a boolean.

Syntax​

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

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 updatable = $.udb(this.dsId).cols(this.column).isInputAllowed() && record.isInserted();