BiAttachedComponentModel
This class is used to handle BiComponent objects inside BiTreeView and BiOlapGrid. An attached component will be positioned at the same place as the cell it is attached to and have the same size as that cell.
This class extends BiEventTarget and therefore all methods and fields available for BiEventTarget are also available for BiAttachedComponentModel .
Constructor
new BiAttachedComponentModel ( )
Parameters
No parameters.
Properties
None.
Methods
| Name | Description |
getAttachedComponent | Returns the attached component for the given cell |
getHasAttachedComponent | Whether the given cell has an attached component |
updateAttachedComponent | Updates the attached component for the given cell |
Events
None.
Static Methods
None.
Static Fields
None.
Remarks
None.
Method Details
getAttachedComponent
Returns the attached component for the given cell
Syntax
object.getAttachedComponent ( x,y ) Parameters
| Name | Type | Optional | Default | Descripton |
x | Number | The column of the cell | ||
y | Number | The row of the cell |
Return Type
getHasAttachedComponent
Whether the given cell has an attached component
Syntax
object.getHasAttachedComponent ( x,y ) Parameters
| Name | Type | Optional | Default | Descripton |
x | Number | The column of the cell | ||
y | Number | The row of the cell |
Return Type
Boolean
updateAttachedComponent
Updates the attached component for the given cell
Syntax
object.updateAttachedComponent ( x,y ) Parameters
| Name | Type | Optional | Default | Descripton |
x | Number | The column of the cell | ||
y | Number | The row of the cell |
Return Type
void