Comments (2)
Hi,
you will use the toArray method only if you implement the nested set model (see the links in the README file). In that case you will have n root elements in your list, but in order to comply with the nested set model you still need one super-root element: the first ancestor of every other item. That's what the first item of the toArray is, not an actual HTML element.
from nestedsortable.
Ok, my bad, thanks for the info!
from nestedsortable.
Related Issues (20)
- Error returning toArray HOT 1
- does expandOnHover and startCollapsed work? HOT 2
- Multiselect possible ?
- Save position HOT 4
- Conflict with Angular
- Cannot put the first child on root
- Cannot put the first child on root
- problem with nesting HOT 9
- [enhancement] Add missing bower.json.
- Angular-NestedSortable
- Add bower/composer support HOT 1
- Incompatibility with jQuery 1.10 and jQuery UI 1.11 HOT 2
- Add item index in toArray
- Items jump up if the window is scrolled down (Please help me) HOT 1
- Uncaught TypeError: Cannot read property 'match' of undefined HOT 1
- Using Nested Sortable in WordPress Admin Sortable box HOT 1
- Relocate event uses element's IDs hardcoded HOT 2
- problem when drag item in long list.
- locked items HOT 2
- How change default rendering of plugin? How to take current information about node after drag and drop? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nestedsortable.