Organigram Template

From Documentation

Organigram Template

  • Available for ZK:
  • ee.png

Since 8.6.0

Similar to Listbox, you can also define a customer rendering with a template for an organigram:

	DefaultTreeNode root = new DefaultTreeNode(null, new DefaultTreeNode[]{
		new DefaultTreeNode("Item1", new DefaultTreeNode[]{
			new DefaultTreeNode("Item2"), new DefaultTreeNode("Item3"), new DefaultTreeNode("Item4")
	DefaultTreeModel model = new DefaultTreeModel(root);
	model.addOpenPath(new int[]{0});
	<organigram model="${model}">
		<template name="model">
				<orgnode label="${}"/>

Last Update : 2024/02/05

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.