M.W.
All the suggestions you had were great, esp. Ibuprofen and heat. "Growing pains" can be very painful for little ones. As the one mom suggested below, really try to increase the potassium but also you can do a mild increase in her calcium level. Sometimes lack of calcium or just not enough can cause leg cramps. Hope this helps. Good luck!
M.