灯开关组织结构图
情况:
- 我有一个包含员工信息的应用程序,
- 每个员工都有一个经理字段(指另一名员工)
- 为了增强体验,我正在考虑根据输入的信息放置一个组织结构图。
问题:
- 有没有办法根据 Lightswitch 中的员工-经理信息动态生成组织结构图?我知道我会重复这些关系,但我不确定如何呈现它。
- 如果不可能以图形格式表示,是否可以将其以网格形式表示?
- 是否可以通过创建自定义控件来实现?
Situation:
- I have an application that have Employee information
- Each Employee has a Manager field (that refers to another employee)
- To enhance the experience, I was thinking of placing an organization chart based on the inputted information.
Question:
- Is there a way to dynamically generate an organizational chart based on Employee-Manager information in Lightswitch? I know I will recurse on the relationships, however I'm unsure on how to present it.
- If it's not possible in a graphical format, would it be possible to have it represented in a grid?
- Would it be possible through creating a custom control?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我创建了一个自定义控件来处理层次结构。您可以看到一些屏幕截图和源代码。
自定义控件基于 Karol Zadora msdn 帖子。
I have create a custom control to work with hierarchies. You can see some screen shots and source code.
The custom control is based on Karol Zadora msdn post.