跳到主要内容

renderMarkers

Description

更新页面上的所有标记

renderMarkers: () => void

Example

var marker1 = gantt.addMarker({ ...});
var marker2 = gantt.addMarker({ ...});
var marker3 = gantt.addMarker({ ...});

gantt.renderMarkers(); /*!*/

Details

注释

此方法在 marker 扩展中定义,因此需要启用 marker 插件。请在 Adding Vertical Markers 文章中阅读详细信息。

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.