Hi,

I have :
QTableView *PersonTableView;
int m_PersonLine;

with these instructions, I can update the name of the person :
QAbstractItemModel *aim = PersonTableView->model();
aim->setData(aim->index(m_PersonLine, 1), sr.field("name").value().toString());
aim->submit();

Because I do not see the modification on the PersonTableView, I have to quit the application and restart it to view the modification of the name of the person in the PersonTableView.

Can someone post the code to tell to the PersonTableView that his model has changed and that it has to repaint or refresh or update or something else, the view.
Please post the code and not only the theory, because I am a newbie.

Regards.