Added attribute 'gridType' in backend. Fixed spelling mistake in 'setNumberOfDots'.