The documentation and demos don't seem to show much in the way of client-side functionality is this true or can you supply more information?
Essentially I'm looking for a control that can support a multi-level hierarchy where nodes can be dragged on or off the chart. Therefore lets say you have a list of people down one side and you wish to organise them by dragging and dropping them onto the OrgChart. From the looks of it I can't see any client-side functionality for creating/removing nodes. Do you think the functionality I ask is possible to implement (or extend) with this control?
Thanks,
Shane
9 Answers, 1 is accepted
This is an interesting question. Thank you for asking it. So far there is not client Api so you can not create and remove nodes. If you want to rebind such functionality you will have to add/remove nodes to the DataSouce and rebind RadOrgChart.
Plamen Zdravkov
the Telerik team
Thank you for sharing your opinion concerning this functionality.
It have been discussed once again with our team and an implementation of such functionality was put on hold for the moment because RadOrgChart is designed always to represent some items or groups of a DataSource and that is why at each crud operation made the DataBase should be updated and RadOrgChart- rebound. In this aspect if a node is added or removed from the client side after a post back the change will be lost.
Hope this will explain the issue.
Plamen Zdravkov
the Telerik team
Telerik shouldn't be telling us how we are to use the controls, you should be giving us feature rich controls which we can use however we want. By this I mean, if I want the org chart to render out on the client, and add\remove things (on the client), it'll clearly be up to me to persist those back with $.ajax ...I would never expect you to! (thatd be crazy).
Common, it's 2012, we're moving to clientside functionality now, less reliance on the server.
Now I can understand it's probably technically REALLY difficult to implement, so that's a perfectly good reason to not want to attempt it :)
Steve
Thank you for sharing your thoughts and insisting on adding such functionality.
We have thought over it once again and came to an idea for adding client functionality for add,remove Nodes and GroupItems in the future. A client-side event(like "nodeAdded" for example) will be fired in order to allow immediate update of the DataSource. Otherwise after a postback all the changes will be lost because RadOrgChart does not support automatic updates of the underlying DataSource.
I have created a PITS item where you can vote for this issue and follow its progress.
Plamen Zdravkov
the Telerik team
I'll be glad to update the DS myself, just (like you said) let me hook into an event :)
Is client side programming feature is available now with latest version? We are planning to use this tool but post back for every operation seems to be a limitation.
For those seeking rich,well-documented client api, please use google charts - it's FREE!
https://developers.google.com/chart/interactive/docs/