We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using both dnd5 and table is not showing dragMarker
<script type="text/javascript"> $(function () { $("#menu-tree").fancytree({ extensions: ["dnd5","table"], checkbox: false, dnd5: { preventRecursion: true, // Prevent dropping nodes on own descendants preventVoidMoves: true, // Prevent moving nodes 'before self', etc. dragStart: function (node, data) { return node.data.id != 0; }, dragEnter: function (node, data) { if(node.data.id === 0) { return 'over'; } return true; }, dragDrop: function (node, data) { var sameTree = data.otherNode.tree === data.tree; console.log(data.otherNode.data); console.log(`move [${data.otherNode.data.id}-'${data.otherNode.title}'] ${data.hitMode} [${node.data.id}-'${node.title}'] `); }, }, table: { indentation: 20, // indent 20px per node level nodeColumnIdx: 1, // render the node title into the 2nd column }, source: [{ id: 0, title: "MainMenu", expanded: true, folder: true, children: <?= json_encode($menu_tree->children, JSON_PRETTY_PRINT); ?> }], renderColumns: function (event, data) { var node = data.node; $tdList = $(node.tr).find(">td"); $tdList.eq(0).text(node.data.id); $tdList.eq(2).text(node.data.controller); } }); }); </script>
Using same configuration with 2.35.0 works fine.
The text was updated successfully, but these errors were encountered:
3de09e1
No branches or pull requests
Expected and Actual Behavior
using both dnd5 and table is not showing dragMarker
Steps to Reproduce the Problem
Environment
enabled/affected extensions: dnd5, table
Using same configuration with 2.35.0 works fine.
The text was updated successfully, but these errors were encountered: