BiTree2
This component is a special case of BiTreeView which has an interface which is similar to BiTree
This class extends BiTreeView and therefore all methods and fields available for BiTreeView are also available for BiTree2 .
Constructor
new BiTree2 ( oColumnNames )
Parameters
| Name | Type | Optional | Default | Descripton |
oColumnNames | String[] | Optional string array telling what to show on the tree headers. |
Properties
| Name | Type | get | set | Descripton |
columnCount | Number | ![]() | ![]() | The number of columns in the tree |
columnNames | String[] | ![]() | ![]() | The text to show on the headers of the tree |
columnOrders | Number[] | ![]() | ![]() | The order of the columns. This an array containing the indexes of the columns. |
columnWidths | String[] | ![]() | ![]() | The widths of the columns of the tree |
rows | | ![]() | The rows in the tree | |
showGridLines | Boolean | ![]() | ![]() | Whether to show grid lines between the cells in the tree |
showHeaders | Boolean | ![]() | ![]() | Whether to show the headers for the tree |
showRowHeaders | Boolean | ![]() | ![]() | Whether to show the row headers for the tree |
Methods
| Name | Description |
addRow | Adds a row to the tree |
removeAll | This removes all the rows |
removeRow | Removes a row item from the tree |
Events
None.
Static Methods
None.
Static Fields
None.
Remarks
None.
Method Details
addRow
Adds a row to the tree
Syntax
object.addRow ( oChild,oBefore ) Parameters
| Name | Type | Optional | Default | Descripton |
oChild | | The row to add to the tree | ||
oBefore | | Optional argument telling what row to insert before |
Return Type
void
removeAll
This removes all the rows
Syntax
object.removeAll ( ) Parameters
No arguments.
Return Type
void
removeRow
Removes a row item from the tree
Syntax
object.removeRow ( oChild ) Parameters
| Name | Type | Optional | Default | Descripton |
oChild | | The row to remove |
