added flag for GridClass; added PagingOptions