Python Forum

Full Version: [PyQt5] get all row data from tableview model
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I have a tableView and when double click on a row I get the index of the selected model.
I get the index like this
clickedIndex.row()
Unfortunately I can't figure out how to get the value of first column.I know that I can get the data of the selected cell, this is not what I'm looking for.

I have on the row:

ROWID (hidden) | Name | City |Address

the selection behaviour is to select the entire row.
I want to get the value from the first column of the selected index, in this case ROWID.