Basically, yeah you can apply it to the diffraction grating equation but the explanation is; if the wavelength is much smaller, then the suize of the gap through which it diffracts is too large; we know that diffraction is only most pronounced when the size of the gap is about the same size as the size of the wavelength of the electron, thus diffraction is much lower when the wavelength is smaller than the gap. Hope this helps