ColsMeta.isEmbeddedColumn()


This article is about the isEmbeddedColumn() function of the ColsMeta object.

ColsMeta.isEmbeddedColumn()

Finds out if the first column item is of an embedded data source.

Returns a boolean.

Syntax

$.udbMeta( ds ).cols( cols ).isEmbeddedColumn()

The optional ds is a data source selector. The optional cols is a column selector.

This function returns true if the first column item is of an embedded data source, false otherwise.

Example

$.udbMeta('EMP').cols().each(
function(index, c){
if (c.isEmbeddedColumn())
alert('Column '+c.name()+' is an embedded column');
}
);

 


0 replies

Be the first to reply!

Reply