Hi Bulmaro,
Greetings from Syncfusion support.
We would like to let you know that we don’t have a support for
the mentioned separator in the TreeView component. However, you can meet this
need by customizing the TreeView component using the CSSClass
property. In the example below, we have added the `border-bottom` style
to the `.e-fullrow` class in the TreeView component. Refer to the code snippets
and sample provided below.
Sample : https://blazorplayground.syncfusion.com/VDhJDFXCRhovYVmW
|
<SfTreeView TValue="TreeItem" CssClass="custom_tree">
<TreeViewFieldsSettings DataSource="@TreeDataSource"
Id="NodeId" Text="NodeText" Expanded="Expanded"
Child="@("Child")"></TreeViewFieldsSettings>
</SfTreeView>
.custom_tree
.e-fullrow{
border-bottom: 1px solid black;
}
|
Output screenshot:
Also, check out the below link for the Blazor TreeView
customization.
https://blazor.syncfusion.com/documentation/treeview/styles
https://blazor.syncfusion.com/documentation/treeview/how-to/customize-the-tree-nodes-based-on-levels
Refer the shared details and get back to us if you need any further
assistance.
Regards,
Leo Lavanya Dhanaraj