QTableView
-
Hi,
I'm trying to update a content on QTableView.
I have the following:
@
QVariant tempVariant("tester");
QModelIndex tempIndex = this->tbView->model()->index(....); //This returns the valid index that I want to change the value
this->tbView>model()->setData(tempIndex, tempVariant, Qt::EditRole+2);//Column I want to change is defined by Qt::EditRole+2
@
Shouldnt this be it?
Thanks