Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7900431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T08:58:09+00:00 2026-06-03T08:58:09+00:00

Can someone please shed some light on this one for me? I cannot figure

  • 0

Can someone please shed some light on this one for me?

I cannot figure out why there is a null root that renders for the JSON objectthat i am returning. The children are present in the JSON and the rendered js.

<ul class="dynatree-container">
<li class="dynatree-lastsib">
<span class="dynatree-node etc">
<span class="dynatree-expander"></span>
<span class="dynatree-icon"></span>
    *<a class="dynatree-title" href="#">null</a>*
</span>
    <ul style="">
        <li class="">
        <span class="dynatree-node etc">
        </li>
        <li class="">
            <span class="dynatree-node etc">
        </li>
        <li class="">
        <li class="">
        <li class="">
        <li class="">
        <li class="dynatree-lastsib">
    </ul>
 </li>
</ul>

Here is a truncated(for space) returned JSON object:

  "children": [
    {
      "key": "0",
      "title": "new  2.txt",
      "isFolder": false,
      "isLazy": false,
      "activate": false,
      "focus": true,
      "expand": true,
      "select": false,
      "hideCheckbox": false,
      "unselectable": false,
      "icon": "images/word.gif"
    },
    {
      "key": "0",
      "title": "tmp001.xls",
      "isFolder": false,
      "isLazy": false,
      "activate": false,
      "focus": true,
      "expand": true,
      "select": false,
      "hideCheckbox": false,
      "unselectable": false,
      "icon": "images/word.gif"
    },
    {
      "key": "0",
      "title": "new  4.txt",
      "isFolder": false,
      "isLazy": false,
      "activate": false,
      "focus": true,
      "expand": true,
      "select": false,
      "hideCheckbox": false,
      "unselectable": false,
      "icon": "images/word.gif"
    }
  ]

And here is my javascript:

  <script>
    $(function(){
    $("#tree").dynatree({
        rootVisible:true,
        title:"Queue",
        rootCollapsible: false,
        selectionVisible: true,
        initAjax: {
            url: 'userProjectQueue.ge',
            cache:false
        },
    onActivate: function(node) {
      $("#echoActive").text(node.data.title + "(" + node.data.key + ")");
    },
    onDeactivate: function(node) {
      $("#echoActive").text("-");
    },
    dnd: {
      onDragStart: function(node) {

        logMsg("tree.onDragStart(%o)", node);
        if(node.data.isFolder)
          return false;
        return true;
      },
      onDragStop: function(node) {
        logMsg("tree.onDragStop(%o)", node);
      }
    }
  });

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T08:58:10+00:00Added an answer on June 3, 2026 at 8:58 am

    rootVisible/rootCollapsible is no longer supported in the latest versions (the system root is always hidden). You should also not pass identical keys (it’s ok to omit them though).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can someone please shed some light on how I would get this to work:
Can someone please shed some light on this problem in Chrome? The removeChild() function
Can someone please shed some light into this? An action is decorated this way:
Can someone please shed some light about this particular for loop in matlab C
Can someone please shed some light on how popular languages like Python, Ruby implements
I'm not sure why am I getting this strange result. Can someone please shed
can someone please show me documentation on this method? i have the following line:
Can someone please explain how you can write a url pattern and view that
can someone please help me. why does this return an error: Dim stuff As
Can someone please tell me why this doesn't work? I'm trying to show and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.