more button show logic should take into account groupBy