The window defogger is often powered through a circuit breaker, which should be located at the driver's side fuse panel. If you have power at the window connector, likely the window grid may need repair. Toyotas have relays everywhere, but fuses are usually only under the hood in the Power Distribution Box, and at the driver's side fuse panel.