Whitebeam Object Definition

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Object Definition

Method Description

iterator.currentRow()

Return the current row number.

Syntax

number = iterator.currentRow()

Parameters

The 'iterator.currentRow' method takes no parameters

Results

The 'iterator.currentRow' method returns number:

Type/Value Range/Length Description
number   The index into the virtual table of the row currently stored in the iterator. If there is no data stored in the iterator this function returns -1

Remarks

This method returns the index into the table of the row currently held in the iterator data properties. If the iterator currently contains no data then the value returned by the method is -1. There are two situations under which the iterator will contain no data:

  1. iterator.getNextRow had not yet been called for the first time.
  2. iterator.getNextRow has been called but the virtual table is empty and no data was retrieved. In this case iterator.getNextRow will have returned false.

The first row index in the table is 'zero' (0).
Whitebeam release 1.3.36
(loadtime : 7ms)