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

[Bug]: Clear all treegridviewnodes #499

Open
ivanbsa75 opened this issue Oct 31, 2024 · 0 comments
Open

[Bug]: Clear all treegridviewnodes #499

ivanbsa75 opened this issue Oct 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ivanbsa75
Copy link

Using the same KryptonTreeGridView in Windows Form, I am trying to delete all nodes. Some nodes are not deleted but are not visible.
To delete all treegridview data (not populated with a data source), these are the methods used:

  • TreeGridView1.GridNodes.Clear()
  • TreeGridView1.Rows.Clear()
  • Krypton.Toolkit.Suite.Extended.TreeGridView.TreeGridNodeCollection object with Removeat subroutine

Reading all the populated nodes after resetting the treegridview, some “old” deleted nodes turn out to still be present, but not visible.

How can I make sure that all nodes and values in the component are cleared / deleted?

Desktop (please complete the following information):

  • OS: Windows 10
  • Version: 22H2 19045.4894
  • Framework/.NET Version: 4.8.1
  • Toolkit Version: 70.23.1.5 and following

Thanks in advance
Best Regard
Ivan

@ivanbsa75 ivanbsa75 added the bug Something isn't working label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant