Cast iron grills can be cleaned with a non-abrasive sponge and soap and a careful drying. Don’t’ put straight into the dishwasher.
Also steel grill pans should not go in the dishwasher because they should not be left wet for long periods.
Simple soap is perfect.