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

NameTypeOptionalDefaultDescripton
sEncodedNameStringThe encoded name of the table. This is the string that BiXmlDataSet getTableNamesPath returned.

Properties

NameTypegetsetDescripton
encodedNameStringcheckedThe encoded name of the data set

Methods

NameDescription
addRowAdds a row to the table.
fromXmlNodePopulates the table using an XML element as source. This is called by the BiXmlDataSet when it is being populated.
removeRowRemoves a row from the table.

Events

None.

Static Methods

None.

Static Fields

None.

Remarks

None.

Method Details

addRow

Adds a row to the table.

Syntax

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

Parameters

NameTypeOptionalDefaultDescripton
oRowBiXmlDataRowcheckedThe row to add. If is not defined then a new BiXmlDataRow is created
oBeforeBiXmlDataRowcheckedIf 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

NameTypeOptionalDefaultDescripton
oNodeNodeThe XML element to populate the data set from

Return Type

void

removeRow

Removes a row from the table.

Syntax

object.removeRow ( oRow )

Parameters

NameTypeOptionalDefaultDescripton
oRowBiXmlDataRowThe row to remove

Return Type

BiXmlDataRow