Entity Conditions
To qualify as a gantt item entity, the entity needs to meet some conditions:
- Have a Start Date/Time
- Have a End Date/Time
- Have a reference to itself (ParentId)
Binding
There is currently 3 ways to bind the gantt control:
- Using a list in form entity.
- Using all entities in a table.
- Using HQL query.
Using a list in form entity
First you need to create a form entity attribute that is a list of entities that match conditions stated in 1.Entity Condition.
Fill the content of this list with code in either a pre-form action or in the code of control with “Call at loading page” enabled.
Using all entities in a table
To use all entities in a table, just check “Base Info”.
Using HQL query
To use HQL check “Base Info” and provide a query statement,