getSelection method added to grid object