Example of Default Scrolling in Javascript Tree Grid Control

/
/
Default Scrolling

This sample demonstrates the Tree Grid component with the horizontal and vertical scrollbars to view the exceeded Tree Grid content.

More Details...

1
Planning
03/02/201707/02/20175100Normal
2
Plan timeline
03/02/201707/02/20175100Normal
3
Plan budget
03/02/201707/02/20175100Low
4
Allocate resources
03/02/201707/02/20175100Critical
5
Planning complete
07/02/201707/02/201700Low
6
Design
10/02/201714/02/2017386High
7
Software Specification
10/02/201712/02/2017360Normal
8
Develop prototype
10/02/201712/02/20173100Critical
9
Get approval from customer
13/02/201714/02/20172100Low
10
Design Documentation
13/02/201714/02/20172100High
11
Design complete
14/02/201714/02/201700Normal
12
Implementation Phase
17/02/201727/02/20171166Normal
13
Phase 1
17/02/201727/02/20171150High
14
Implementation Module 1
17/02/201727/02/20171110Normal
15
Development Task 1
17/02/201719/02/2017350High
16
Development Task 2
17/02/201719/02/2017350Low
17
Testing
20/02/201721/02/201720Normal
18
Bug fix
24/02/201725/02/201720Critical
19
Customer review meeting
26/02/201727/02/201720High
20
Phase 1 complete
27/02/201727/02/2017050Low
21
Phase 2
17/02/201728/02/20171260High
22
Implementation Module 2
17/02/201728/02/20171290Critical
23
Development Task 1
17/02/201720/02/2017450Normal
24
Development Task 2
17/02/201720/02/2017450Critical
25
Testing
21/02/201724/02/201720High
26
Bug fix
25/02/201726/02/201720Low
27
Customer review meeting
27/02/201728/02/201720Critical
28
Phase 2 complete
28/02/201728/02/2017050Normal
29
Phase 3
17/02/201727/02/20171130Normal
30
Implementation Module 3
17/02/201727/02/20171160High
31
Development Task 1
17/02/201719/02/2017350Low
32
Development Task 2
17/02/201719/02/2017350Normal
33
Testing
20/02/201721/02/201720Critical
34
Bug fix
24/02/201725/02/201720High
35
Customer review meeting
26/02/201727/02/201720Normal
36
Phase 3 complete
27/02/201727/02/2017050Critical
Description

The Tree Grid will show scrollbar when the content exceeds the element width or height. The vertical and horizontal scrollbar will be displayed based on the following criteria. The vertical scrollbar appears when the total height of rows present in Tree Grid exceeds its element height. The horizontal scrollbar appears when the sum of column`s width exceeds Tree Grid element width. The height and width property is used to set the Tree Grid height and width respectively. The value of these properties can be a numeric value, pixel(px) or percentage (%). In this demo, the height and width property of the Tree Grid is set to 400 and auto respectively. Now, the Tree Grid will render with vertical scrollbar when the total height of rows exceeds its element height and horizontal scrollbar will appear when the total column width exceeds the element width.