modify grid selection