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
Hm.. I tried that.
I also tried suspend paint,
and setting the treegridview.visible to false
it still takes too long.
Similarly, hiding the nodes takes a long time. this.SuspendLayout(); this.SuspendPaint(); treeGridView1.Visible = false; foreach (var node in treeGridView1.GridNodes) { node.Visible = false; foreach (var subnode in node.Nodes) { subnode.Visible = false; } } treeGridView1.Visible = true; this.ResumePaint(); this.ResumeLayout();
regardless, expanding or collapsing by clicking the + or - does the same.
Unless there is a expand/collapse event to catch, I don't see how I could put the suspend in front/behind.
Funny enough, its actually the set visible to false, or collapsing that takes too long. Expand seems fine.
Describe the bug
When I have many children in a TreeGridView (like 200) the performance is very slow to expand and collapse the node.
About 250 children takes about 6 seconds on my computer
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A resonable time of 0.5s sounds reasonable
Desktop (please complete the following information):
Win .NET 6.0 C#
Krypton.Toolkit.Suite.Extended.TreeGridView.Canary
80.23.2.51-beta
The text was updated successfully, but these errors were encountered: