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

NameTypeOptionalDefaultDescripton
sNameStringUnnamed Data Set The name of the data set

Properties

NameTypegetsetDescripton
dataReadyBooleancheckedReturns true if the data is ready. This is always true for a BiDataSet but might not be true for a sub class.
nameStringcheckedThe name of the data set
tablesBiDataTable[]checkedThe tables in the data set

Methods

NameDescription
addTableAdds a table to the data set.
getTableByNameReturns the table with the given name.
removeTableRemoves a table from the data set.

Events

None.

Static Methods

None.

Static Fields

None.

Remarks

None.

Method Details

addTable

Adds a table to the data set.

Syntax

object.addTable ( oTable [ ,oBefore ] )

Parameters

NameTypeOptionalDefaultDescripton
oTableBiDataTableThe table to add.
oBeforeBiDataTablecheckedIf provided the new table is added before this

Return Type

void

getTableByName

Returns the table with the given name.

Syntax

object.getTableByName ( s )

Parameters

NameTypeOptionalDefaultDescripton
sStringThe name of the table.

Return Type

BiDataTable

removeTable

Removes a table from the data set.

Syntax

object.removeTable ( oTable )

Parameters

NameTypeOptionalDefaultDescripton
oTableBiDataTableThe table to remove

Return Type

BiDataTable