Cols object

Previous Next

This object contains a collection of columns.

When calling $.udb(), you can refer to columns with arrays or simple strings, using the selection techniques below:

 

 

collapseSelecting by column ID
collapseSelecting by name
collapseSelecting by column type

 

Functions

The Cols object exposes the following functions.

NOTE: In addition to the functions listed in the table below, the Cols object equally exposes all the functions listed for the ColsMeta object.

Method

Description

.clear()

Function that clears the value of a column.

.each()

Function to iterate the execution of a function for each column.

.meta()

Function that returns the meta data container of the first column of its column collection.

.rawVal()

Function that returns the raw (unformatted) value of a column.

.val()

Function that gets or sets the value of a column.