Cols.context()
note
This article is about the context() function of the Cols object.
Cols.context()
Gets the frame context of the data source that these columns belong to.
Returns a frame context ID.
Syntax
$.udb( *ds* ).cols( [columns] ).context()
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 cols = $.udb('EMP').cols('EMPNO');
console.log('These columns live in frame context %s', cols.context());