BiDataSet

This class represents a data set. A data set contains tables, which consists of columns and rows. @option

This class extends BiEventTarget and therefore all methods and fields available for BiEventTarget are also available for BiDataSet .

Constructor

new BiDataSet ( sName )

Parameters

Name Type Optional Default Descripton
sName String Unnamed Data Set The name of the data set

Properties

Name Type get set Descripton
dataReady Boolean checked Returns true if the data is ready. This is always true for a BiDataSet but might not be true for a sub class.
name String checked The name of the data set
tables BiDataTable[] checked The tables in the data set

Methods

Name Description
addTable Adds a table to the data set.
getTableByName Returns the table with the given name.
removeTable Removes a table from the data set.

Events

None.

Static Methods

None.

Static Fields

None.

Remarks

Method Details

addTable

Adds a table to the data set.

Syntax

object.addTable
 (
 oTable
 [
 ,oBefore
 ]
 
 )
 

Parameters

Name Type Optional Default Descripton
oTable BiDataTable The table to add.
oBefore BiDataTable checked If provided the new table is added before this

Return Type

void

getTableByName

Returns the table with the given name.

Syntax

object.getTableByName
 (
 s
 )
 

Parameters

Name Type Optional Default Descripton
s String The name of the table.

Return Type

BiDataTable

removeTable

Removes a table from the data set.

Syntax

object.removeTable
 (
 oTable
 )
 

Parameters

Name Type Optional Default Descripton
oTable BiDataTable The table to remove

Return Type

BiDataTable