0

I am using Jquery Treeview and one problem I am facing is, when you expand a node an already opened node collapses.

Is there any way to prevent it?

Currently I am using

$(document).ready(function(){


    $("#navigation").treeview({
        persist: "location",
        collapsed: true,
        unique: true
    });


});

I would just like to have the nodes opened as they are by the user, unless one chooses to close them manually.

4

1 回答 1

0

Remove the unique option.

$(document).ready(function(){
  $("#navigation").treeview({
    persist: "location",
    collapsed: true
  });
});

HTH

于 2013-06-05T09:57:00.800 回答