When there is custom template applied that hosts multiple rows of UI components with total height greater than 44, the template is not measured correctly, leading to wrong visualization.
Currently this could be accomplished through methods.
The documentation notes that the TreeView should have its items default as IsExpanded=False, however, everything is expanded when I start my TreeView. This also includes the situation when I have a TreeView with a custom template (provided by the excellent people at Telerik, for dealing with cutoff expander icon issue!) and if I try to set Expanded explicitly to False via the template and viewmodel.
This seems to be pretty basic and I have to wonder if I'm not doing something correctly.
Thanks.
Expose a BringIntoView or ScrollIntoView method that would scroll the TreeView to a specified TreeViewItem. Available in R3 2018 release. For more details on the feature refer to: https://docs.telerik.com/devtools/xamarin/controls/treeview/treeview-scrolling
All parts of the TreeViewItem (indicator, text, checkbox) are defined as one big template. Therefore customization of only one part of the template still requires retemplating the whole item.
When retemplating is applied to the treeviewitem and 20+ children in the nodes are loaded, the result is as follow: If you run that on iOS and expand a node you'll see that it crunches the UI for a few seconds and then loads the child nodes, but i also see on our application that it will crash some times and either way gives a bad feel to the UI on iOS
Provide an option to allow the checkbox to be rendered to the right of the node's content.
A mock code example:
<RadTreeView CheckBoxHorizontalOptions="End" />
Please let us know:
Scrolling a TreeView with expandable items on iOS causes items to randomly change position in the control and prevent items from being selected.
This renders the control unusable on iOS when expandable items are present.
I've attached a basic project that demonstrates the issue.
The project just needs the latest Telerik binaries added to it. They were too large to include.
I believe this is the same issue Martin was experiencing in the comments of https://feedback.telerik.com/xamarin/1427193-treeview-ios-wrong-visualization-with-custom-itemtemplate
I am using treeview loadondemand, doing an api call for every node that I open. I noticed that when I tried to open an item with 33 children object, it hangs the application.
The issue occurs when TreeViewItemTemplate is used.
Without the itemtemplate no issues.
When we call ScrollItemIntoView to scroll to one of the nodes at the bottom of the tree the app will crash with a "Unspecified Error".
I've set it to load 150 nodes into the tree and when you click the "Test" button it will error (using UWP). If you change it to only load 100 nodes or less it should work.
This freezing is not happening if we have less number of records, I have tested
with 20 records. But it may load more than 20 records, I do not have the exact number
where this freezing issue starts to happen.
The issue happens when item template is used.
workaround:
Remove the item template