Replies: 3 comments 2 replies
-
It would also be helpful to support a right click context menu per item. |
Beta Was this translation helpful? Give feedback.
-
The tree does not have support for right click menu. Did you https://fluentui-blazor.net/TreeView#dynamictreegeneratio? You can use ItemTemplate to style your items |
Beta Was this translation helpful? Give feedback.
-
Coming back to this, in the demo example using the ItemTemplate the text itself is clickable to select the tree item but the count, wrapped in a span is not. If I extend this example and wrap the text is span for style than that also not selectable. Ideally the entire item including any icon(s) should be clickable. Incidentally I have extended the TreeViewItem class to allow a per-item class/style to be passed into the template. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm looking for a way to add style to individual tree view items e.g. underlined text or maybe different coloured text. My application is similar to an IDE and I'm using a tree view to display a component hierarchy. I have an implementation that renders custom content within a FluentTreeItem but something more out of the box would be nice.
Beta Was this translation helpful? Give feedback.
All reactions