Sort the list of columns for a table by attnum (creation order).
This commit is contained in:
parent
2aef965787
commit
2f527a8380
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ ColumnPage::ColumnPage(QWidget *parent)
|
|||
m_tableView->setModel(m_sortFilterProxy);
|
||||
m_tableView->setSortingEnabled(true);
|
||||
m_tableView->setSelectionBehavior(QAbstractItemView::SelectRows);
|
||||
m_sortFilterProxy->sort(ColumnTableModel::AttnumCol, Qt::AscendingOrder);
|
||||
|
||||
// With this delegate the coloring of the datatype column doesn't work....
|
||||
// auto item_delegate = new PgLabItemDelegate(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue