Page 1 of 1

Problem with TDBTree

Posted: Tue Mar 06, 2007 2:46 pm
by 9349350
Using mode with Code field and Parent field on a large dataset takes forever to load. (10M records+)

Even while there are only 20 records i n the root en next level.

Why aren't only the records loaded that are expanded? Am I mssing something here?

I guess I'll have to stay with my own TDBTree implementation which does load partial data.



Hans

Posted: Sun Mar 11, 2007 6:23 pm
by Tom
Hi,

Partial load is not implemented in the TDBTree implementation. With TTree you can create a partial load, but if you want to use it together with a database, you indeed need to implement your own TCustomTree descendant.

Regards,
tom

Ah.. Now I remember

Posted: Mon Mar 12, 2007 7:27 am
by 9349350
...why I had to implement this myself.
:)