BiGridHeader
This represents a header cell for the BiGridHeaders of a BiGrid or a BiTree.
This class extends BiLabel and therefore all methods and fields available for BiLabel are also available for BiGridHeader .
Constructor
new BiGridHeader ( [ sText ] )
Parameters
| Name | Type | Optional | Default | Descripton |
sText | String | ![]() | The text to show on the header. |
Properties
| Name | Type | get | set | Descripton |
ascending | Boolean | ![]() | ![]() | When this is true a down arrow is shown as the icon of the header. When false an up arrow and when null no icon is shown. |
ascendingIcon | | ![]() | ![]() | The icon to use for the sort arrow when sorting ascendingly |
columnIndex | Number | ![]() | The column index of the header | |
descendingIcon | | ![]() | ![]() | The icon to use for the sort arrow when sorting descendingly |
movable | Boolean | ![]() | ![]() | Whether the user can move the current header. |
resizable | Boolean | ![]() | ![]() | Whether the user can resize the current header. |
sortable | Boolean | ![]() | ![]() | Whether the user can click on the header to sort by that column. |
Methods
None.
Events
None.
Static Methods
None.
Static Fields
None.
Remarks
Do not use the icon property because that is used for the sort arrows.
