This is a migrated thread and some comments may be shown as answers.

Problem with TreeView "expand" method

1 Answer 138 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
piotrekk
Top achievements
Rank 1
piotrekk asked on 14 Aug 2012, 10:16 AM
When TreeView is defined as static structure, or dataSource parameter is array type, expand method works correctly. But if items are bind by Kendo dataSource object the expand method works only if tree node was previously expanded "manually". This issue have consequence also for append method - if we use it to add item to "not-expanded" node it will destroy all child items for this node.

I've added simple example of this issue.

regards,
Piotr

1 Answer, 1 is accepted

Sort by
0
Accepted
Alex Gyoshev
Telerik team
answered on 14 Aug 2012, 04:29 PM
Hello Piotr,

The expand method should be already fixed in the latest internal builds. We received a bug report about the append method, too, so it will be fixed in the next internal build, due to the end of the week.

Regards,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
TreeView
Asked by
piotrekk
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or