added clear() function for group grid