question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

add new nodes from a list

See original GitHub issue

Hi, I’ve a small project where I’ve a list of items and I need than they can be dragged for build a tree…like

item1
item2
item3
item4

drag to create

item2
  |
    item1
     |
      item2
      item3
        |
        item4
        item1


do you think than this could be possible using react-sortable-tree?

thank you so much

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
fritz-ccommented, Mar 12, 2017

@cocodrino One issue you might run into is that the rows are fixed-height. If you’re considering using images, I think that would cause problems for you. However, if that’s not an issue, I believe this library would serve as a good base for what you want to do.

To get a better idea for yourself, try out the demo and check out the demo code.

0reactions
nmartinezb3commented, Nov 21, 2018

@fritz-c could you please provide a new link with the example of dragging an element in from another list?

Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Insertion in Linked List - GeeksforGeeks
Add a node after a given node: (5 steps process) · Firstly, check if the given previous node is NULL or not. ·...
Read more >
inserting a node at the end of a linked list in c - Log2Base2
1. Declare head pointer and make it as NULL. · 2. Create a new node · 3. If the head node is NULL,...
Read more >
Inserting a new node to a linked list in C++ - CodesDope
In the first case, we make a new node and points its next to the head of the existing list and then change...
Read more >
Linked List Operations: Traverse, Insert and Delete - Programiz
Insert Elements to a Linked List · 1. Insert at the beginning. Allocate memory for new node; Store data; Change next of new...
Read more >
Inserting a node at front and end of linked List
Dynamically create a new node using malloc function. · Set data field of new node. · Set the next pointer of new node...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found