From d10b3dfbe9baa6ba8ac049a526bf5e8775ee2389 Mon Sep 17 00:00:00 2001 From: rebecca0201 Date: Tue, 12 Sep 2023 16:38:33 +0800 Subject: [PATCH] ZK-4494: Tree shall provide enough information to decorate lines with CSS --- zkdoc/release-note | 1 + .../src/main/webapp/test2/F100-ZK-4494-1.zul | 181 ++++++++++++++++++ zktest/src/main/webapp/test2/F100-ZK-4494.zul | 51 +++++ .../src/main/webapp/test2/config.properties | 2 + .../webapp/test2/css/F100-ZK-4494-Style.css | 31 +++ .../main/resources/web/js/zul/sel/Treecell.ts | 13 +- .../resources/web/js/zul/sel/Treechildren.ts | 8 + .../main/resources/web/js/zul/sel/Treerow.ts | 6 + 8 files changed, 288 insertions(+), 5 deletions(-) create mode 100644 zktest/src/main/webapp/test2/F100-ZK-4494-1.zul create mode 100644 zktest/src/main/webapp/test2/F100-ZK-4494.zul create mode 100644 zktest/src/main/webapp/test2/css/F100-ZK-4494-Style.css diff --git a/zkdoc/release-note b/zkdoc/release-note index ab0d9247560..8a15de32c9d 100644 --- a/zkdoc/release-note +++ b/zkdoc/release-note @@ -26,6 +26,7 @@ ZK 10.0.0 ZK-5541: Move widget restriction check to Client MVVM ZK-5354: Update animation implementation to avoid iframe reloading ZK-4969: dropupload supports accept file type + ZK-4494: Tree shall provide enough information to decorate lines with CSS * Bugs ZK-5089: AfterSizeEvent doesn't return a correct size of a Window component diff --git a/zktest/src/main/webapp/test2/F100-ZK-4494-1.zul b/zktest/src/main/webapp/test2/F100-ZK-4494-1.zul new file mode 100644 index 00000000000..5a8af6291fc --- /dev/null +++ b/zktest/src/main/webapp/test2/F100-ZK-4494-1.zul @@ -0,0 +1,181 @@ + + + + + +