Skip to main content
Version: 11.2

Rowset.context()

note

This article is about the context() function of the Rowset object.

Rowset.context()

Gets the frame context of the data source that this row set belongs to.

Returns a frame context ID.

Syntax

$.udb( *ds* ).rowSet( *rowSet* ).context()

The required ds parameter is a data source selector.

The required rowSet parameter is a rowset identifier.

Example

let rowSet = $.udb('EMP').rowSet('current');

console.log('This row set lives in frame context %s', rowSet.context());