Situation:
- I have an application that have Employee information
- Each Empl开发者_JAVA百科oyee 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?
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.
精彩评论