[]
        
(Showing Draft Content)

Taskbar Styles

You can modify the style of a specific taskbar using the specified style rules, and then the style will be applied to all tasks that match the rule. SpreadJS allows you to customize the taskbars' color, shape, end type, and patterns. There are several built-in style rules for each taskbar type. You can change the taskbar style properties by following the style rules. You can also create the custom style rule based on the GC.Spread.Sheets.GanttSheet.TaskbarStyleRule class.

Note: The taskbar style can only be changed if a primary key exists.

To know more about taskbar style rules, refer to https://developer.mescius.com/spreadjs/demos/features/ganttsheet/styles/taskbar-style/purejs