Skip to main content
Version: 10.1

Cols.meta()

note

This article is about the meta() function of the Cols object.

Cols.meta()

Gets the meta data container of the first column in a set of columns. If you already have a column container, this method is a shortcut for having to make a detour via $.udbMeta.

Returns a colsMeta object.

Syntax

*cols*.meta()

Example

Use as a shortcut:

var cs = $.udb("EMP").rows('current').cols("NR");
var csMeta = cs.meta();

Instead of:

var cs = $.udb("EMP").rows('current').cols("NR");
var csMeta = $.udbMeta(cs.ds()).cols("NR");