본문으로 건너뛰기

static_background

정보

이 기능은 PRO 에디션에서만 사용할 수 있습니다.

Description​

타임라인 영역용 백그라운드 이미지를 생성하되 실제 열과 행의 선을 렌더링하지 않습니다

static_background: boolean

Example​

gantt.config.static_background = true;

gantt.init("gantt_here");

기본값: false

Details​

버전 6.2부터 이 구성은 PNG 배경 이미지와 timeline_cell_class 템플릿 함수에 의해 CSS 클래스가 적용된 셀도 렌더링합니다.

버전 6.1 동작으로 되돌리려면(배경 이미지만 렌더링하는 경우) static_background_cells 구성을 사용하세요:

gantt.config.static_background_cells = false;

하이라이트된 셀은 show_task_cells 구성이 활성화된 경우(기본값)에만 렌더링됩니다.

v6.3부터 스마트 렌더링은 타임라인의 보이는 부분에 있는 셀만 렌더링하므로, 이 구성이 렌더링 속도에 미치는 영향은 이전 버전보다 작습니다. 또한 이 구성은 데이터를 내보낼 때 export 서버로 보내는 요청의 크기를 줄여 줍니다.

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.