By default, the FlexGrid sets its height automatically
to fit its content.
However, generally, grid height needs to be adjusted
using CSS as per the application design. In that case,
the grid automatically shows scrollbars as needed and
virtualizes the content to improve performance.
Below grid has its maximum height set to 150 pixels:
Id
Country
Product
Active
Downloads
Sales
Expenses
Overdue
0
US
Phones
145,248
81,732.54
38,401.13
1
Germany
Computers
111,632
20,603.32
27,944.24
2
UK
Cameras
181,205
44,217.79
48,877.49
3
Japan
Stereos
54,740
29,190.63
23,365.74
4
Italy
Phones
126,531
46,951.19
49,107.56
5
Greece
Computers
6,073
86,237.02
49,767.35
6
US
Cameras
135,436
31,459.18
40,845.40
Id
Country
Product
Active
Downloads
Sales
Expenses
Overdue
0
And this one demonstrates the default behavior of the grid where
it automatically takes the height required to show all its
content without vertical scrollbars: