jstree select_limit not working. I want to set selection limit to select only 3 nodes

后端 未结 2 1893
轻奢々
轻奢々 2021-01-12 04:01

My jstree function is here.
I have set \'select_limit\' : 3, but is not working. when I run, I am able to select more than 3 nodes, but I need to select no

2条回答
  •  青春惊慌失措
    2021-01-12 04:59

    There is another option missing, probably need to add the ui module, try this:

    j1("#utree_activity").jstree({ 
    "plugins" : ["html_data","ui"],
    
     //the rest of your code
    });
    

提交回复
热议问题