made the double click on the grid work