Optional
Internal
_ofsOptional
Internal
_weightOptional
Internal
_widthOptional
classesOptional class names that are added to all span.wb-col
header AND data
elements of that column. Separate multiple classes with space.
Optional
customOptional custom column width when user resized by mouse drag. Default: unset.
Optional
filter.
Default: inactive.
Note: The actual filtering must be implemented in the buttonClick()
event.
Optional
filterableDisplay a 'filter' button in the column header. Default: false.
Note: The actual filtering must be implemented in the buttonClick()
event.
false (or global tree option columnsFilterable
)
0.11.0
Optional
headerIf headerClasses
is a set, it will be used for the header element only
(unlike classes
, which is used for body and header cells).
Separate multiple classes with space.
Optional
htmlOptional HTML content that is rendered into all span.wb-col
elements of that column.
Column ID as defined in tree.columns
definition ("*" for title column).
Optional
menuDisplay a menu icon that may open a context menu for this column.
Note: The actual functionality must be implemented in the buttonClick()
event.
Optional
minOnly used for columns with a relative weight.
Default: 4px
.
Optional
resizableAllow user to resize the column.
false (or global tree option columnsSortable
)
WunderbaumOptions.columnsResizable.
0.10.0
Optional
sortOptional custom column sort orde when user clicked the sort icon.
Default: unset, e.g. not sorted.
Note: The actual sorting must be implemented in the buttonClick()
event.
0.11.0
Optional
sortableDisplay a 'sort' button in the column header. Default: false.
Note: The actual sorting must be implemented in the buttonClick()
event.
false (or global tree option columnsSortable
)
WunderbaumOptions.columnsSortable.
0.11.0
Column header (defaults to id)
Optional
tooltipColumn header tooltip (optional)
Optional
widthColumn width or weight.
Either an absolute pixel value (e.g. "50px"
) or a relative weight (e.g. 1
)
that is used to calculate the width inside the remaining available space.
Default: "*"
, which is interpreted as 1
.
Column type definitions.
See
Wunderbaum.columns