Hi,
i have a issue with the property NodeSelected of the TreeView component in version 19.4.0.38 in a Blazor Wasm Project.
In my component i have this code:
<SfTreeView TValue="TValue"
ExpandOn="ExpandAction.Click">
<TreeViewEvents TValue="TValue"
NodeSelected="@((args)=>{Console.WriteLine("NodeSelected");})">
</TreeViewEvents>
<TreeViewFieldsSettings TValue="TValue"
Id="@FieldSettings.Id"
HasChildren="@FieldSettings.HasChildren"
Text="@FieldSettings.Text"
ParentID="@FieldSettings.ParentId"
DataSource="@FieldSettings.DataSource">
</TreeViewFieldsSettings>
</SfTreeView>
If i set the property NodeSelected the TreeView Node not expand with the first click of mouse but a second click is required.
If i remove the rows
<TreeViewEvents TValue="TValue"
NodeSelected="@((args)=>{Console.WriteLine("NodeSelected");})">
</TreeViewEvents>
All work perfectly and the node is expanded with the first click
Any suggestion to resolve the issue?
Thanks for the support
Thank, i solved the problem.
Effectively the problem was in TValue and in the properties of TValue.
Thanks for the support!!!
Luca