This article will show how to default the 'expansion' button on a grid in a Dynamics GP 2015
This will simulate pushing this button every time the form opens
The approach is slightly different in earlier versions but the technique is the same