Rows object

Previous Next

This object contains a collection of records.

When calling $.udb(), you can refer to rows by calling the .rows() function of the Rowset object.

Functions

A Rows object exposes the following functions:

Function

Description

.cols()

Function that returns a collection of columns.

.each()

Function to iterate executing a function for each row.

.filter()

Function that filters a collection of columns.

.index()

Function that return the index of the first record.

.isInserted()

Function to check if the first record is inserted or not.

.joinedVal()

Function that returns the value of a joined column if it exists, of the first record.

.keys()

Function that returns the key values of the first record.

.keysString()

Function that return the keys string of the first record.

.keysXML()

Function that returns an XML string representing the keys of the first record.

.mark()

Function to check if the first record is marked or not.

.mark(value)

Function to change the mark value of one or more records.

.refresh()

Function that refreshes the collection of records.

.rowDelete()

Function that deletes a collection of rows (also from the database).

.rowId()

Function that returns the unique row id of the first record.

.rowRemove()

Function that removes a collection of rows from their data source (without actually deleting them)

.select( options )

Function to select the first record in a set of rows.

.select( "multiple" )

Function to change the selection state of the current row.

.select( "multiple", value )

Function to changes the selection state of rows in a set.

.status()

Function that returns the row status of the first record.

.values()

Function that holds values for multiple columns of the row(s) in scope.