The list of tables can now be sorted by either name,schema or schema,name by clicking on the column headers.
This commit is contained in:
parent
5b20f900fc
commit
ec8c3ff5ec
3 changed files with 45 additions and 8 deletions
|
|
@ -27,6 +27,8 @@ TablesPage::TablesPage(MainWindow *parent)
|
|||
SetTableViewDefault(ui->tableListTable);
|
||||
m_tablesModel = new TablesTableModel(this);
|
||||
ui->tableListTable->setModel(m_tablesModel);
|
||||
ui->tableListTable->setSortingEnabled(true);
|
||||
ui->tableListTable->sortByColumn(0, Qt::AscendingOrder);
|
||||
|
||||
SetTableViewDefault(ui->columnsTable);
|
||||
m_columnsModel = new ColumnTableModel(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue