y1feng200156 / dynatree

Automatically exported from code.google.com/p/dynatree
0 stars 0 forks source link

loadKeyPath ID list format #476

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the significance of the format of "/_3/_23/_26/_27" using the slashes 
and underscores rather than just a comma separated list?

For:
tree.loadKeyPath("/_3/_23/_26/_27", function(node, status){

We are running into a few issues trying to get this to work, and wondering if 
this was still the correct format.

Original issue reported on code.google.com by bjohnson...@gmail.com on 28 Feb 2014 at 4:15

GoogleCodeExporter commented 9 years ago
We use '/' as separator by default (inspired by URL path segments).
The leading '_' is part of the keys in your example.

Original comment by moo...@wwwendt.de on 28 Feb 2014 at 7:34

GoogleCodeExporter commented 9 years ago
Ah ok, the "_" was throwing me off, makes sense, thanks.

Original comment by bjohnson...@gmail.com on 28 Feb 2014 at 7:35

GoogleCodeExporter commented 9 years ago
Cleanup Scrumboard

Original comment by moo...@wwwendt.de on 2 May 2014 at 7:47