PDA

View Full Version : QTableWidget can't scroll automaticlly



nthung
18th November 2011, 15:55
When ai drag a QTableWidget in to UI, then i add new rows but it can't scroll automaticlly. I don't know how to fix this.
Thanks

Added after 45 minutes:

Sorry
I fixed as below

int counterRow=ui->tableWidget->rowCount();
ui->tableWidget->insertRow(counterRow);