如何将自己的道具传递给Devextreme Scheduler组件

问题描述

我试图通过devExtreme将自己的道具传递给存在的调度程序组件,但是确实很难。我只能从传入的数据中获取道具,但我还需要更多。有人可以给我一个建议吗?

就像我如何将测试道具传递给Appointment和AppointmentContent组件一样?

<Appointments 
  test={"testing"}
  appointmentComponent={Appointment}
  appointmentContentComponent={AppointmentContent}
/>

在Scheduler上尝试该操作,也不能正常工作

<Scheduler test={"testing"}
 data={data}
>

代码示例:https://codesandbox.io/s/charming-snow-2ktr3?file=/demo.js:7039-7048 感谢您的帮助!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)