oj-sample-organization-tree reorder
Summary
drag and drop tree nodeContent
How to reorder oj-sample-organization-tree using drag and drop?
this feature is available in the standard oj-tree component ?
is it possible to do the same functionality with this component ?
Code Snippet
<oj-sample-organization-tree
data="[[ $variables.adp ]]" id="tree" draggable="true" selection-mode="single">
<template slot="itemTemplate">
<oj-sample-organization-tree-item node-id="[[ $current.data.nodeId ]]"
parent-id="[[ $current.data.parentId ]]"
label="[[ $current.data.label ]]"
secondary-label="[[ $current.data.secondaryLabel ]]"
draggable="true"
>
</oj-sample-organization-tree-item>
</template>
</oj-sample-organization-tree>
Tagged:
0