BiXmlDataTable

This class is used for the tables in a BiXmlDataSet.

This class extends BiDataTable and therefore all methods and fields available for BiDataTable are also available for BiXmlDataTable .

Constructor

new BiXmlDataTable ( sEncodedName )

Parameters

Name Type Optional Default Descripton
sEncodedName String The encoded name of the table. This is the string that BiXmlDataSet getTableNamesPath returned.

Properties

Name Type get set Descripton
encodedName String checked The encoded name of the data set

Methods

Name Description
addRow Adds a row to the table.
fromXmlNode Populates the table using an XML element as source. This is called by the BiXmlDataSet when it is being populated.
removeRow Removes a row from the table.

Events

None.

Static Methods

None.

Static Fields

None.

Remarks

Method Details

addRow

Adds a row to the table.

Syntax

object.addRow
 (
 
 [
 oRow
 [
 ,oBefore
 ]
 
 ]
 
 )
 

Parameters

Name Type Optional Default Descripton
oRow BiXmlDataRow checked The row to add. If is not defined then a new BiXmlDataRow is created
oBefore BiXmlDataRow checked If provided the new row is added before this

Return Type

void

fromXmlNode

Populates the table using an XML element as source. This is called by the BiXmlDataSet when it is being populated.

Syntax

object.fromXmlNode
 (
 oNode
 )
 

Parameters

Name Type Optional Default Descripton
oNode Node The XML element to populate the data set from

Return Type

void

removeRow

Removes a row from the table.

Syntax

object.removeRow
 (
 oRow
 )
 

Parameters

Name Type Optional Default Descripton
oRow BiXmlDataRow The row to remove

Return Type

BiXmlDataRow