Grid paging query

- Added default grid paging query implementation.