.isMandatory()

Previous Next

Finds out if this column is mandatory.

Returns a boolean.

Syntax

.isMandatory()

This function return true if the column is mandatory, false otherwise.

 

Example

if($.udbMeta('EMP').cols('EMPNO').isMandatory())
 alert('mandatory');