Nested grid - limit rows?

If my nested grids typically show, say a 1000 rows, how can I (1) limit that to say 10?
(2) With pagination?