Re: QTableWidget not Displaying multiple rows from SQL Query
Originally Posted by anda_skoa
So you have not checked if it actually runs multiple iterations?
E.g. by having a log output inside the loop or logging the value of "i" or "row" after the loop?
Cheers,
_
Yes, everything works just perfectly, the variables return 1 in case of "i" and "2" in case of "row" unfortunately it doesn't creates another row, it's just one. Maybe I should set "
ui->tableWidget->setRowCount(row);" inside the loop ?
Bookmarks