Skip to main content
Version: 10.1

UDB Cols object

note

This article is about the Cols object in the UDB object model. This model is for data exchange between USoft web UIs and Rules Engines. This model is built around the udb, DataSourceMetaContainer, DataSourceContainer, Rowset, Rows, ColsMeta, and Cols object types. See also UDB events.

A Cols object contains a collection of columns.

Syntax

$.udb( *ds* ).rows( *rows* ).cols( *cols* )

The optional ds is a data source selector. If you omit ds, all the data sources in scope are selected.

The optional rows is a row selector. If you omit rows, all the rows in scope are selected.

The optional cols is a column selector. If you omit cols, all the columns in scope are selected.

Example

var v = $.udb('EMP').rows('current').cols('EMPNO');