This sample visualizes the manned lunar mission, which landed the first human on the Moon using the Apollo 11 spacecraft in the year 1969. This sample demonstrates the Filtering feature available in Gantt chart. You can filter a particular column using filter menu available in the columns. This sample is also enabled with toolbar searching option, using which you can filter the Gantt content across all the columns.
The filtering feature enables the user to view reduced amount of records based on filter criteria. The column
menu filtering can be enabled by setting
allowFiltering property as
true and toolbar
search box can be enabled by including the search item in the
Gantt supports the following filter types. They are
hierarchyModeproperty. The below are the type of filter mode available in Gantt chart.
Parent- This is the default filter hierarchy mode in Gantt chart. The filtered records are displayed with its parent records, if the filtered records not have any parent record then the filtered record alone will be displayed.
Child- The filtered records are displayed with its child record, if the filtered records do not have any child record then only the filtered records are displayed.
Both- The filtered records are displayed with its both parent and child record. If the filtered records do not have any parent and child record then only the filtered records are displayed.
None- Only the filtered records are displayed.
Gantt component features are segregated into individual feature-wise modules. To use filtering feature, we need
Filter module, and use the toolbar support we need to inject
To use a selection, inject the