It's highly likely that a faulty heating element or thermostat is the cause of the water not heating if your dishwasher is connected to the cold water supply. It's worth checking the water supply for an issue with the dishwasher, if you're connecting to hot.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.