Hi folks,
I am working on Xamorgchart control. My requirement is organization chart is need to be re-generated based on user selected data templates from a drop down list?
I have mentioned below both data templates of attributes for your reference.
1. Template-1:
Employee-Name, Employee-Id,Designation
2. Template-2:
Employee-Name,Employee-Id,Birth day, Hire Date
Pls help me on this issue as already i have tried but there is no success?
Hi,
Take a look at the “Custom Node Item Template” sample:
http://samples.infragistics.com/sldv/RunSamples.aspx?cn=org-chart#/org-chart/custom-node-item-template
In your case you can define several data templates and change the OrgChartNodeLayout.ItemTemplate property.
Hi Teodor,
Thanks for your link.
I got a solutions from infragistics support team. Before that, i was binding that data template with org-chart item template instead of org-chart Node Layout template.
Regards,
Haridass TR