Virtual TreeCtrl

Hi,
  Is there any mixin or widget to make easily a "virtual" treeCtrl, ie a tree widget that deletes automatically unexpanded items and adds expanded items children with a callback or overriden method?

Thx and regards,

Nicolas