rgreat Posted December 3, 2015 Posted December 3, 2015 Usually i catch onNodeExpand method and add subnodes there. But TUniTreeView does not have such method. I figured i nee to use TUniTreeView.ClientEvents.ExtEvents. After some blind man tries i produced this weird code: function itemexpand(sender, eOpts) { for (var i=0;i<sender.stores.length;i++) { if (sender.stores[i].hasOwnProperty("nm")) { ajaxRequest(sender.stores[i],'expand',['internalId='+sender.internalId]); break; } } } But it does not work consistently. Now I'm kind of lost on what to do. Quote
rgreat Posted December 4, 2015 Author Posted December 4, 2015 sender.internalId does not always corresponds with TTreeNode.AbsoluteIndex; Quote
DFong Posted December 4, 2015 Posted December 4, 2015 see my reply to you regarding capturing the expand action Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.