Example of undefined in Angular Tree Grid Component

This sample demonstrates the frozen rows and columns feature of the Tree Grid. Scroll the movable content horizontally to view the frozen columns with the content.

Column
Freeze Direction
1
Planning
2/3/20172/7/20175100NormalVice President1
2
Plan timeline
2/3/20172/7/20175100NormalChief Executive Officer2
3
Plan budget
2/3/20172/7/20175100LowChief Executive Officer3
4
Allocate resources
2/3/20172/7/20175100CriticalChief Executive Officer4
5
Planning complete
2/7/20172/7/201700LowChief Executive Officer5
6
Design
2/10/20172/14/2017386HighVice President6
7
Software Specification
2/10/20172/12/2017360NormalSales Representative7
8
Develop prototype
2/10/20172/12/20173100CriticalSales Representative8
9
Get approval from customer
2/13/20172/14/20172100LowSales Representative9
10
Design Documentation
2/13/20172/14/20172100HighSales Representative10
11
Design complete
2/14/20172/14/201700NormalSales Representative11
12
Implementation Phase
2/17/20172/27/20171166NormalVice President12
13
Phase 1
2/17/20172/27/20171150HighSales Representative13
14
Implementation Module 1
2/17/20172/27/20171110NormalSales Representative14
15
Development Task 1
2/17/20172/19/2017350HighSales Representative15
16
Development Task 2
2/17/20172/19/2017350LowSales Representative16
17
Testing
2/20/20172/21/201720NormalSales Representative17
18
Bug fix
2/24/20172/25/201720CriticalSales Representative18
19
Customer review meeting
2/26/20172/27/201720HighSales Representative19
20
Phase 1 complete
2/27/20172/27/2017050LowSales Representative20
21
Phase 2
2/17/20172/28/20171260HighSales Representative21
22
Implementation Module 2
2/17/20172/28/20171290CriticalSales Representative22
23
Development Task 1
2/17/20172/20/2017450NormalSales Representative23
24
Development Task 2
2/17/20172/20/2017450CriticalSales Representative24
25
Testing
2/21/20172/24/201720HighSales Representative25
26
Bug fix
2/25/20172/26/201720LowSales Representative26
27
Customer review meeting
2/27/20172/28/201720CriticalSales Representative27
28
Phase 2 complete
2/28/20172/28/2017050NormalSales Representative28
29
Phase 3
2/17/20172/27/20171130NormalSales Representative29
30
Implementation Module 3
2/17/20172/27/20171160HighSales Representative30
31
Development Task 1
2/17/20172/19/2017350LowSales Representative31
32
Development Task 2
2/17/20172/19/2017350NormalSales Representative32
33
Testing
2/20/20172/21/201720CriticalSales Representative33
34
Bug fix
2/24/20172/25/201720HighSales Representative34
35
Customer review meeting
2/26/20172/27/201720NormalSales Representative35
36
Phase 3 complete
2/27/20172/27/2017050CriticalSales Representative36
Frozen
Atleast one Column should be in movable
Description

The freezing feature enables the user to freeze certain rows/columns at both sides to scroll remaining movable content. This can be achieved by setting freeze property.

In this demo sample, the Task ID column freezed at left side and Approved column is freezed at right side by using the freeze properties.

Injecting Module:

Tree Grid features are segregated into individual feature-wise modules. To use frozen columns feature, we need to inject FreezeService the @NgModule.providers section.