From e02cfb1940c721efa29d7766763e5d5beaf46189 Mon Sep 17 00:00:00 2001 From: Lizi
the title of the remove button DOM. It is valid when [setting.edit.enable = true & setting.edit.showRemoveBtn = true]
-Default: "remove"
-When the mouse over the remove button, the browser auto pop-up message content.
-zTree unique identifier: treeId, easy for users to control.
-JSON data object of the node which show the remove button
-Return value is same as 'String Format'
-var setting = {
- edit: {
- enable: true,
- showRemoveBtn: true,
- removeTitle: "remove the node"
- }
-};
-......
- function setRemoveTitle(treeId, treeNode) {
- return treeNode.isParent ? "remove the parent node":"remove the leaf node";
-}
-var setting = {
- edit: {
- enable: true,
- showRemoveBtn: true,
- removeTitle: setRemoveTitle
- }
-};
-......
-