Support to  set the endpoint for the Grid.
Merge pull request #72 from DaviRyan/FixForGridToSetTheEndpoint

Support to  set the endpoint for the Grid.