Did you try QTableWidget?

Qt Code:
  1. QTableWidget *table = new QTableWidget(100,100);
  2. for(int r = 0; r < 100; ++r)
  3. for(int c = 0; c < 100; ++c)
  4. table->item(r,c)->setText(QString::number(qrand()%1000));
  5. table->show();
To copy to clipboard, switch view to plain text mode