Added API method to set grid color