Sounds like your baby may be experiencing separation-anxiety (I am assuming that her grandmother is her primary caregiver).
Here is an article that you may find useful:
http://www.babysleepsite.com/sleep-training/baby-toddler-sleep-separation-anxiety/
Not sure if this is what your child is experiencing but this is common for children approaching 2 years of age. Hope the article shed some light on what she may be going through and what you could do to help.
Take care!!
Read more