Skip to content

when ext-grid enabled, it has error when the tree is empty #975

@yangjuncode

Description

@yangjuncode

the error is:

TypeError: node is undefined

the normal tree without ext-grid is fine with empty source

    $("#old-tree").fancytree({
      checkbox: true,
      source: [],

  })

Environment

  • Browser type and version:firefox 70
  • jQuery and jQuery UI versions:jQuery UI 1.12.1, jQuery 3.4.1
  • Fancytree version:2.33.0
    enabled/affected extensions: ext-grid

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugext-grid(Unsupported experimental plugin)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions