Cols.isUpdatable()
note
This article is about the isUpdatable() function of the Cols object.
Cols.isUpdatable()
Detects whether the first column in scope may be updated.
Returns 'true', 'false', or 'ifNull'. A value of 'ifNull' means the column is only updatable while its current value is still empty (NULL). See DataSourceContainer.isUpdatable() for the corresponding data-source-wide setting, which this value is combined with.
Syntax
$.udb( *ds* ).cols( [columns] ).isUpdatable()
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('EMP').cols('ADDRESS').isUpdatable();