Hi All,

The compatible function in the Qt4 would like to know which to show the empty field in the QTableView.

In the Qt3 with the QDataTable I used the function:

dataTable->setNullText("");

==========Code==========================
....

model = new QSqlQueryModel(this);
proxyModel = new QSortFilterProxyModel(this);
proxyModel->setSourceModel(model);

model->setQuery(QString(SELECT_ACCOMP_OCCURRENCE).arg(QS tring(globalIdentID)));

model->setHeaderData(2, Qt::Horizontal, QObject::tr("VTR"));
model->setHeaderData(3, Qt::Horizontal, QObject::tr("HIO"));
model->setHeaderData(4, Qt::Horizontal, QObject::tr("HEM"));

this->tableView->setModel(proxyModel);
this->tableView->show();
....
==========End==========================

I did not find nothing in the QTableView to show the empty fields.

Using Qt4 Version: 4.3.0
OS: FreeBSD 7.0-CURRENT

edm.