This sample visualizes the manned lunar mission, which landed the first human on the Moon using the Apollo 11 spacecraft in the year 1969. It also demonstrates the filtering feature available in the Gantt chart. You can filter a particular column using the filter menu available in the columns. This sample is also enabled with the toolbar searching option to 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 toolbar property. Gantt chart also provides support for a set of filtering modes with hierarchyMode property. 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. Injecting Module: Gantt component features are segregated into individual feature-wise modules. To use filtering feature, we need to inject Filter using the Gantt.Inject(Filter) method, and use a toolbar by injecting the Toolbar module using the Gantt.Inject(Toolbar) method. To use a selection, inject the Selection module using the Gantt.Inject(Selection) method