You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! First of all, thanks for this library, it's cool! I try to make managment tree with data={data}, add onMove handler, but when ever it run - index alway has value 0. Why? And how to manage Move and Reorder by DragNDrop programmisticly?
Oo! It's incredible! I'v found solution! When openByDefault = true then onMove take index=0 always. But if I toggle to openByDefault=false, so onMove work perfectly! Why?
Hi! First of all, thanks for this library, it's cool! I try to make managment tree with data={data}, add onMove handler, but when ever it run - index alway has value 0. Why? And how to manage Move and Reorder by DragNDrop programmisticly?
in devTool:
onMove {dragIds: Array(1), parentId: '5184', index: 0, dragNodes: Array(1), parentNode: _NodeApi}dragIds: ['5183']dragNodes: [_NodeApi]index: 0parentId: "5184"parentNode: _NodeApi {tree: _TreeApi, id: '5184', data: {…}, level: 3, handleClick: ƒ, …}[[Prototype]]: Object
The text was updated successfully, but these errors were encountered: