Hi Srijan Vaidya,
Go to the properties of Datagrid, in the general tab you can set the number of rows you want to show.
Hope this helps you.