You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into an issue when implementing a tree and when trying to perform an action whenever the selection changes. (selection tree-widget) will always return the complete data passed to the tree model, while I would like to retrieve only the item that was selected.
Browsing the examples, I realised that the two examples 'explorer.clj' and 'tree.clj' both use the selected value and that 'tree.clj' shows the same behaviour that I observed: Whenever an item in the xml tree is clicked, the status label will always show the same xml data of the complete rss file and not only the selected string.
Is there an obvious solution to this or is this an error in the implementation?
The text was updated successfully, but these errors were encountered:
I don't know if it has changed since 2015, but my experience with the current code-base is that it returns the "path" to the selected element. Meaning, the last element in the selection is the desired element.
I know this is sort of thread-necromancy, just wanted to inform anyone else who might stumble across this issue.
I ran into an issue when implementing a tree and when trying to perform an action whenever the selection changes. (selection tree-widget) will always return the complete data passed to the tree model, while I would like to retrieve only the item that was selected.
Browsing the examples, I realised that the two examples 'explorer.clj' and 'tree.clj' both use the selected value and that 'tree.clj' shows the same behaviour that I observed: Whenever an item in the xml tree is clicked, the status label will always show the same xml data of the complete rss file and not only the selected string.
Is there an obvious solution to this or is this an error in the implementation?
The text was updated successfully, but these errors were encountered: