adesso è Risolto

bastava aggiungere quelle 2 righe scritte in blu
codice:
if (NumRows > 0) {
    int TheRow=NumRows-1;
    griglia1.setRowSelectionInterval(TheRow,TheRow);
    Rectangle rettangolo = griglia1.getCellRect(TheRow, 0, true);
    griglia1.scrollRectToVisible(rettangolo);
}
senza usare getViewport() o altre cose strane.


Comunque grazie lo stesso.