In
this question, the final suggestion was to find an individual node and prevent it from accepting drops.
Is that still the only way to do this? I would like to prevent
any leaf nodes (existing and future) from being dropped on. Is there a property to set for this when we create the table?
[edit]
Additionally, it would be nice if we could catch an attempt to drop a tree node onto a leaf and instead insert it as a sibling.
I realize the two ideas may be mutually incompatible, so they could be separate ideas. In other words, maybe we could choose one of the following:
- convert leaf to node when child dropped on it (default behavior)
- make leafs "leaf only" and reject attempts to drop nodes on them
- make leafs "leaf only" and interpret drop attempts as requests to "insert above" or "insert below"