Closed neon-age closed 3 years ago
This is caused by TreeView.FindItem() which goes throw whole hierarchy many-many times for each instanceId.
There is no optimal optimization for this method, so instead we better get all TreeView items and go throw each visible element manually.
Fixed. Changed recursive FindItem to GetRow and GetItem. Also invokes only when TreeView is being reloaded
This is caused by TreeView.FindItem() which goes throw whole hierarchy many-many times for each instanceId.
There is no optimal optimization for this method, so instead we better get all TreeView items and go throw each visible element manually.