Hi, i have a few questions about TreeView client side functions.
1) Is it possible to rebind TreeView on client side, like Grid.rebind()?
2) How to get TreeItem.Value in onSelect event?
Thank you.
Best regards.
3 Answers, 1 is accepted
0
Ilias
Telerik team
answered on 25 Feb 2010, 11:38 AM
Hi Frantisek Skorunka,
1) Is it possible to rebind TreeView on client side, like Grid.rebind()?
- We didn't implement this functionality for the Q1 Beta, We are currently developing it and it will be available with the official release.
2) How to get TreeItem.Value in onSelect event?
- We don't serialize JSON for tree items. So we won't provide such functionality.
Sincerely yours,
Ilias
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items.
Is the rebind now supported with the latest release? If not, could you tell me how to reload the treeview?
Thanks!
0
Georgi Krustev
Telerik team
answered on 04 Jun 2010, 10:22 AM
Hi Christopher Ronak,
Unfortunately the required functionality is still not implemented. Nevertheless you can reload TreeView compoent. using bindTo(data) client method or ajaxRequest() if TreeView is bound with Ajax or Web service. You need to aforementioned methods like this:
Review this demo for more information. Note that you do not need to use dataBinding event handler.
# if ajax or ws
$('#TreeViewID').data('tTreeView').ajaxRequest();
All the best,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items.