Lixin,
The grids are actually graphics that are drawn on the map and are created each time you pan by working out the max/min coordinate values for the eastings and northings within the the viewable area; this is all done client side so does not touch the geometry service.
If you contact Kerry Coffin at Esri who created the original code I am sure he would supply the .as files required so that you could re-write them for your own coordinate system or he might even have other grids for America already.
Regards
Anthony