The number and the display order of the grid rows are specified in the row model. When using js arrays for the cell data it is necessary to set the number of rows explicitly.
obj.setRowCount(100);
XML and CSV data sources set the number of rows automatically in response callback.