Hi,
How can I get all the data from a specific column?
I have managed to pull the data from a specific cell, but I want all the data in the cells from a specific column.
number = ui->tableView->model()->data(ui->tableView->model()->index(0,5)).toString();
number = ui->tableView->model()->data(ui->tableView->model()->index(0,5)).toString();
To copy to clipboard, switch view to plain text mode
This obviously just gives me the data in that exact index. I want to retrieve all the data from column 5, with x amount of rows.
Thanks.
Bookmarks