ColumnToolbars
Feature
Adds toolbars to the top and/or bottom of each column. By default it adds a bottom toolbar containing a single button for adding events to that column/swimlane:
To add, remove or modify toolbar items for all columns, see topItems and bottomItems:
To have per column/swimlane control over the items, see processItems:
In handlers for buttons etc, you can access which column/swimlane the action was taken in on the supplied source param, using its columnRecord and swimlaneRecord properties:
new TaskBoard({
features : {
columnToolbars : {
topItems : {
clearButton : {
icon : 'fa fa-trash',
onClick({ source }) {
if (source.columnRecord) {
...
}
}
}
}
}
}
});
This feature is enabled by default.
No results
Configs
Configs are options you supply in a configuration object when creating an instance of this classProperties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of ColumnToolbars class, or subclass thereof.
-
Identifies an object as an instance of ColumnToolbars class, or subclass thereof.
CSS variables
CSS variables that can be set to adjust appearance| Name | Description |
|---|---|
| --b-task-board-column-toolbars-color | Primary color for buttons in column toolbars |
| --b-task-board-column-toolbars-font-size | Font size for buttons in column toolbars |
id: columnToolbars