Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(treeview):multiple modifications and optimizations #555

Merged
merged 10 commits into from
Feb 1, 2024

Conversation

wildwind2000
Copy link
Contributor

1.Fix change parameter from program not correct affect node state.(Value,Open,Active,Openall)
2.Change parameter from program(Open,Active,Value) should not trigger event.
3.Optimize search execution efficiency.

1.Fix change parameter from program not correct affect node state.(Value,Open,Active,Openall)
2.Change parameter from program(Open,Active,Value) should not trigger event.
3.Optimize search execution efficiency.
1. The _oldActive variable was mistakenly used as _OldValue.
2. Modify ValueChanged and OnInput trigger event  data.
1.remove useless code
2.add search changed logic
Remove oldsearch judgment to prevent incorrect data retrieval during dynamic loading
if (_oldItemsKeys == newKeys) return false;
_oldItemsKeys = newKeys;
return true;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
}
}

Copy link
Contributor

@capdiem capdiem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for your PR! Your work is greatly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants