Skip to content

Commit ebbcc33

Browse files
committed
chore(TreeView): address feedback
1 parent f0e943f commit ebbcc33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

knowledge-base/treeview-change-expand-collapse-icons.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You can change the expand/collapse icons in the TreeView by overriding the built
3434
>caption Change the expand/collapse icons in TreeView
3535
3636
````CSHTML
37-
@* If your Telerik.UI.for.Blazor version is 4.3.0 or later, use the following CSS. *@
37+
@* In Telerik.UI.for.Blazor version 4.3.0 and later, the components use SVG icons by default. Use the following CSS for versions 4.3.0 and later. *@
3838
@* Render the desired SVG icon and inspect it with your dev tools to get its path. *@
3939
<style>
4040
.custom-icons .k-treeview-toggle .k-svg-icon.k-svg-i-caret-alt-down svg path {
@@ -45,7 +45,7 @@ You can change the expand/collapse icons in the TreeView by overriding the built
4545
d: path("m158.059 129.941 126.06 126.06-126.06 126.061L192 416l160-159.999L192 96z");
4646
</style>
4747
48-
@* If your Telerik.UI.for.Blazor version is below 4.3.0, use this CSS. *@
48+
@* In Telerik.UI.for.Blazor version below 4.3.0, the components use Font icons by default. Use this CSS for versions prior to 4.3.0. *@
4949
@* Copy the unicode of your desired icon from the Progress Design System - https://www.telerik.com/design-system/docs/foundation/iconography/icon-list/ *@
5050
5151
@* <style>
@@ -71,7 +71,7 @@ You can change the expand/collapse icons in the TreeView by overriding the built
7171
{
7272
FlatData = GetFlatData();
7373
74-
ExpandedItems = FlatData.Where(x => x.HasChildren == true).ToList();
74+
ExpandedItems = FlatData.Where(x => x.HasChildren == true && x.Id != 3).ToList();
7575
}
7676
7777
List<TreeItem> GetFlatData()

0 commit comments

Comments
 (0)