The basic way you limit the rows in the datatable is by limiting the rows in the data model collection.
However, there's a paging control that is part of the MyFaces Tomahawk tag set and it can be combined with a datatable to not only limit the number of rows displayed, but also to manage the data display paging itself. You might want to check it out. [ July 09, 2007: Message edited by: Tim Holloway ]
An IDE is no substitute for an Intelligent Developer.