开发者

Lightswitch Organizational Chart

开发者 https://www.devze.com 2023-04-09 07:29 出处:网络
Situation: I have an application that have Employee information Each Empl开发者_JAVA百科oyee has a Manager field (that refers to another employee)

Situation:

  1. I have an application that have Employee information
  2. Each Empl开发者_JAVA百科oyee has a Manager field (that refers to another employee)
  3. To enhance the experience, I was thinking of placing an organization chart based on the inputted information.

Question:

  1. 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.
  2. If it's not possible in a graphical format, would it be possible to have it represented in a grid?
  3. Would it be possible through creating a custom control?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消