Master/Detail: Default # of Detail records

I’ve got a beautiful master / detail form working thanks to the great power of PhPMaker!

I want to start off with a total of two detail records in a master/detail screen, but PHPM seems to always default to 5. Can anyone help me set the starting number of blank detail records to 2?

in the classes Page_Load() event…// Page Load event
function Page_Load() {
$this->GridAddRowCount = 2;
}OR globally in Advanced Setting:
Grid-Add row count

Thank you!