본문으로 건너뛰기

render

Description

전체 Gantt 차트를 렌더링합니다.

render: () => void

Example

gantt.config.scales = [
{ unit: "month", step: 1, format: "%F, %Y" },
{ unit: "day", step: 1, format: "%j, %D" }
];
gantt.init("gantt_here");

gantt.config.scales = [
{ unit: "day", step: 1, format: "%j, %D" }
];
gantt.render();

Details

여러 작업과 링크를 한 번의 재렌더링으로 한꺼번에 업데이트하려면 batchUpdate() 메서드를 사용할 수 있습니다. 이는 여러 번의 업데이트와 재렌더링을 수행하는 대신 한 번의 재렌더링으로 처리합니다.

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.