Skip to main content
Version: 10.1

ColsMeta.isInputAllowed()

note

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

ColsMeta.isInputAllowed()

Finds out if new input may be entered for this column. Use this, for example, for a column in an inserted record.

Returns a boolean.

Syntax

$.udbMeta( *ds* ).cols( *cols* ).isInputAllowed()

The optional ds is a data source selector. The optional cols is a column selector.

Function returns true if new input may be entered for this column, false otherwise.

Example

if (!updatable && $.udbMeta(this.dsId).cols(this.column).isInputAllowed() &&
record.isInserted())
updatable = true;