The problem of grinding teeth is not related to diabetes
. It is called bruxism
in technical terms. Diagnosis of the condition along with the severity of it is mandatory before advising any treatment. It may just range from wearing of a night guard to full mouth rehabilitation.
Hope this helps.