Thanks for your answers.
Please consider the following example.
Consider we have vertical layout with 2 rows in it.
The upper row has a Grid component in it which displays records. If the number of records are more,the grid component should resize itself to display all the records at once and avoid displaying vertical scrollbar. Can it be possible with Grid component?