dhtmlxGrid supports paginal output. You can use it together with dynamical loading or separately.
In the sample below number of rows per page is set to 30 and number of pages per group is set to auto (null) - based on rows in the first portion loaded from server
Autoloading delivers 300 more records each time when previous 300 ones were consumed. Number of total records is 2000.