In order to do that, you have to use a different Position Allocation class instead of the Grid.
Here is an example:
http://www.nsnam.org/doxygen/classns3_1_1_list_position_allocator.html MobilityHelper mobility;
Ptr<ListPositionAllocator> positionAlloc = CreateObject <ListPositionAllocator>();
positionAlloc ->Add(Vector(0, 0, 0)); // node0
positionAlloc ->Add(Vector(1000, 0, 0)); // node1
positionAlloc ->Add(Vector(450, 0, 0)); // node2
mobility.SetPositionAllocator(positionAlloc);
mobility.SetMobilityModel("ns3::ConstantPositionMobilityModel");
mobility.Install(nodes);
However you can use more than one Allocators in the same script. For example you can use the Grid to place some nodes and the List with exact positions for other nodes.