Skip to content

为什么nodeClasses不能给节点添加class? #465

Open

Description

@andrew2558
var setting = {
   view:{
      nodeClasses: {add: ['tree-dir-item']},
      // nameIsHTML: true
   }
};

zTreeObj = $.fn.zTree.init($("#dirtree"), setting, zNodes);

类tree-dir-item并没有添加到生成的节点中,请问是哪个地方出了问题

Activity

  1. zTree commented on Sep 8, 2020

    @zTree
    Owner

    首先请核实你使用的 zTree 版本是否与 API 中说明的 支持版本一致

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions