GRID_field
信息
此功能仅在 PRO 版本中可用。
Description
定义列中显示的文本
GRID_field: (field_name: string, event: object) => string;
Parameters
field_name- (required) string - 列的标识符event- (required) object - 事件数据
Returns
text- (string) - 用于在scheduler中显示的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_date 和 GRID_single_date 模板。
Related Guides
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.