본문으로 건너뛰기

GRID_field

정보

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

Description

열에 표시되는 텍스트를 정의합니다

GRID_field: (field_name: string, event: object) => string;

Parameters

  • field_name - (required) string - 열의 식별자
  • event - (required) object - 이벤트 데이터

Returns

  • text - (string) - 스케줄러에 표시할 HTML 콘텐츠

Example

scheduler.templates.grid_field = function(field_name, event){
return event[field_name];
};

Applicable views: Grid view

Details

노트

이 템플릿은 grid_view 플러그인이 활성화된 경우에만 작동합니다.

이 템플릿은 id='date', id='start_date', 또는 id='end_date'인 열에는 적용되지 않습니다. 해당 열들은 GRID_full_dateGRID_single_date 템플릿을 대신 사용합니다.

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.