JsTree dnd单品

时间:2014-07-30 08:22:27

标签: javascript jstree

我正在使用带有dnd和checkbox插件的JsTree 3.0.2。这是我当前的设置

$('#dataTree').jstree({
            "core": {
                "themes": {
                    "responsive": false
                },
                "check_callback": true,
                'data': [...]
            },
            "checkbox": {
                "keep_selected_style": false
            },
            "types": {
                "default":{
                    "max_depth": 0,
                    "icon": "fa fa-list icon-state-success icon-lg"
                },

            },
            "plugins": ["contextmenu", "dnd", "types","checkbox"]
 });

问题是当我拖动项目时,拖动所有选中的项目。我怎么能阻止这个?我想保留已检查的项目,但只拖动一个。

由于

0 个答案:

没有答案
相关问题