void setRowNum (int _num) set number of rows for the entire table. Parameters: _num number of rows of the entire table