Skip to content

How to get updated array #9

@Georgeek

Description

@Georgeek

Hi!
How to get updated array after dragend? It seems that STORE from "ondragend" method return too much data. Is there any other simple way to retrieve updated array

initial data

data: [
              {text: 'node 4'},
              {text: 'node 4 undroppable', droppable: false},
              {text: 'node 5', children: [
                {text: 'node 1'},
                {text: 'node 2', children: [
                  {text: 'node 3'},
                  {text: 'node 4'},
       //ommited

ondragend STORE element of an updated Array

active:(...)
children:(...)
class:(...)
innerBackClass:(...)
innerBackStyle:(...)
innerClass:(...)
innerStyle:(...)
level:(...)
open:(...)
parent:(...)
style:(...)
text:(...)
_droppable:true
_id:"tree_5_node_wIU3u"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions