Orgitem"

From Documentation
Line 12: Line 12:
  
 
For a branch node, an +/- button will appear at the beginning of the node, such that user could open and close the item by clicking on the +/- button.
 
For a branch node, an +/- button will appear at the beginning of the node, such that user could open and close the item by clicking on the +/- button.
 +
 +
=Supported Events=
 +
 +
{| border="1" | width="100%"
 +
! <center>Name</center>
 +
! <center>Event Type</center>
 +
|-
 +
| <center><tt>onOpen</tt></center>
 +
| '''Event:''' <javadoc>org.zkoss.zk.ui.event.OpenEvent</javadoc>
 +
Denotes user has opened or closed a component. It is useful to implement load-on-demand by listening to the onOpen event, and creating components when the first time the component is opened.
 +
|}
 +
 +
*Inherited Supported Events: [[ZK_Component_Reference/Base_Components/XulElement#Supported_Events | XulElement]]
 +
 +
=Supported Children=
 +
 +
*[[ZK_Component_Reference/Layouts/Organigram/Orgnode | Orgnode]], [[ZK_Component_Reference/Layouts/Organigram/Orgchildren | Orgchildren]]
 +
 +
=Version History=
 +
{{LastUpdated}}
 +
 +
{| border='1px' | width="100%"
 +
! Version !! Date !! Content
 +
|-
 +
| &nbsp;
 +
| &nbsp;
 +
| &nbsp;
 +
|}
 +
 +
{{ZKComponentReferencePageFooter}}

Revision as of 07:16, 8 August 2018

Orgitem

Employment/Purpose

Orgitem contains a node (Orgnode), and an optional Orgchildren.

If the component doesn't contain a Orgchildren, it is a leaf node that doesn't accept any child items.

If it contains a Orgchildren, it is a branch node that might contain other items.

For a branch node, an +/- button will appear at the beginning of the node, such that user could open and close the item by clicking on the +/- button.

Supported Events

Name
Event Type
onOpen
Event: OpenEvent

Denotes user has opened or closed a component. It is useful to implement load-on-demand by listening to the onOpen event, and creating components when the first time the component is opened.

Supported Children

* Orgnode,  Orgchildren

Version History

Last Update : 2018/08/08


Version Date Content
     



Last Update : 2018/08/08

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