Summary
I'd like to prevent rows from being dropable on some specific rows when using the draggable feature.
Version
version 4.21.22
Additional context
To prevent rows being dropable on some other target rows i tried following:
grid.on('drag', ev => {
if(!ev.appended) return false;
})
and
grid.on('drag', ev => {
if(!ev.appended) ev.stop();
})
In both cases i was not able to stop dropping on the target row.
As i use a materialized path data model and not a nested model my goal is to only drop appended rows as child nodes.
Is there an easy way to achive this?