support for viewrecords while grouping the grid data