Hi SyncFusion,
In the code of using SfTreeView package, I added the TreeViewSelectedItem method to detect which option the user selects
But this method seems to only work when SelectedItemChanged...
If I click "Downloads" first, ItemSelected function is triggered and the message of SelectedItem.ItemName is displayed
Then I click "Downloads" again, the message window will no longer pop up...
To confirm that clicking "Downloads" for the second time is no action, I set a breakpoint in the line code "if (treeViewSelectedItem != value)", and it did not been executed.
I want to ask if I want to detect every time the user clicks on the item but not just SelectedItemChanged
How should I modify my code?
Attachment:
NaviTreeview20210318_aa3dd514.zip