开发者

Load a large number of records into a VB.NET treeview control quickly

开发者 https://www.devze.com 2023-04-02 06:24 出处:网络
I want to load 20 million records in a treeview control with parent child Hierarchy order for example - Groupa

I want to load 20 million records in a treeview control with parent child Hierarchy order

for example

- Groupa
    - a1  
    - a2
    - a3
    - Groupa1
      - a11
      - a12
      - a13
 - Groupb开发者_开发技巧
    - b1  
    - b2
    - b3


Why don't you lazy load the tree?

Initially only load the nodes at the bottom level. Children nodes then only need loading when the parent node is expanded.

0

精彩评论

暂无评论...
验证码 换一张
取 消