process_resource_assignments
信息
此功能仅在 PRO 版本中可用。
Description
开启或关闭 资源分配的解析功能
process_resource_assignments: boolean
Example
gantt.config.process_resource_assignments = false;
Default value: true
Related samples
Details
当需要将资源分配到任务中的特定时间时,必须启用 process_resource_assignments 属性。 这是因为该属性负责将任务的 gantt.config.resource_property 中的值解析为内部资源分配对象。
这样,您就可以通过 DataStore 对象操作资源分配,例如检索或更新分配对象。
如果您的需求只是将资源分配给任务,而不需要设置分配的具体时间或持续时间,可以通过此设置关闭分配解析:
gantt.config.process_resource_assignments = false;
Related Guides
Change log
- v7.1 新增
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.