msing Posted September 21, 2008 Share Posted September 21, 2008 Hey there, I actually came to the forums because I was neck deep in my code trying to find out why deleting items out of my MPTT tree was causing problems. Funnily enough I couldn't explain my situation without drawing it out in mspaint, and go figure it became clear after a while of drawing and studying my own drawing. Anyway, I realized that there seems to be no obvious way to insert data into a MPTT tree without putting your inserted item as the LAST child of an existing node. I would really like to be able to insert data into my tree in its proper alphabetical position. Of course I can always re-run my function that re-structures the table into MPTT form from the stored parent node info (kept specifically for that reason). But I was hoping I could find a way to do this without running that cursed recursive function. Any insights? Thanks. Quote Link to comment Share on other sites More sharing options...
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.