PDA

View Full Version : Highlightig a row in QTableView



thefatladysingsopera
29th July 2011, 07:24
I have made an application and it has a QtableView and some forms.I have used QDataWidgetMapper.I want to move the row highlight everytime i click next or previous so that the highlight is on the currently selected item.

How can i do that.

gkarthick5
29th July 2011, 13:51
Use QTableView::selectRow(int row) if you keep track of the row number