Hi,
I am using the following code for display the table. But I want to increase the table size.
QStandardItemModel *model=new QStandardItemModel();
for (int row = 0; row < 40; ++row) {
for (int column = 0; column < 3; ++column) {
QStandardItem *item = new QStandardItem(QString("hi"));
model->setItem(row, column, item);
}
}
searchTable = new QTableView(this);
searchTable->showGrid();
searchTable->setModel(model);
Any suggestions?