I tried all of them: OnFieldChange, OnManualSubmit and OnRowChange, but without effect

Qt Code:
  1. QSqlRecord r = tableModel->record(5);
  2. r.setValue("name", name);
  3. r.setValue("age", age);
  4. tableModel->setRecord(5, r);
To copy to clipboard, switch view to plain text mode