Good morning,
i've a QTablewidget, 2 cols, 3 rows.

i use :

mytable->setSelectionBehavior(QAbstractItemView::SelectRow s); //to select a row
mytable->setSelectionMode(QAbstractItemView::SingleSelecti on); //to have single selection.

All well,
now i want to disable the onclick selection, when a row is empty, (so the row background color remains unchanged, and no empty row is porcessed)

How can i disable the oncick selection for a certain row ?

Thanks Gabriele