Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 RadScheduler。它现在显示数据库中的所有约会。我只需要显示当前登录客户的约会详细信息。我的数据库中有一个字段用于 customerId。我将如何将其添加到 RadScheduler 中的约会中。非常感谢
Imo RadScheduler 本身是架构性的,不是过滤约会的正确位置。而是过滤您绑定的数据源以获得正确的约会。使用 Linq 很容易,可能是这样的datasource.all(appointment => appointment.customerId == context.loginId)
datasource.all(appointment => appointment.customerId == context.loginId)