question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

QTable: multiple columns sorting

See original GitHub issue

Currently the sorting of QTable only supports a single column, sortBy & descending of sort-method props should be arrays rather than single value. The effect should be similar to vuetify’s sort-on-multiple-columns. Grateful 😀

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:10
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
dgfmdrvcommented, Apr 20, 2022
0reactions
mcdead154commented, Jul 30, 2022

Hi, any update on this issue? Or have someone did it somehow with header slot? I looked into QGrid but sadly it does not have multiple column sort feature.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is it possible to sort on multiple columns in QTableView using ...
The examples show sorting on one column, which is achieved by enabling sorting on the view and then later, implementing our own lessThan ......
Read more >
Sort on Multiple columns in QTableView - Stack Overflow
I'm using Pyside2, Python 3.8. I have a QTableView, with a QSortFilterProxyModel Model. I managed to ...
Read more >
Data Table Multiple Column Sort - Quasar forum
Basically if I click sort on two columns, the first columns sort will remain and the second will then be sorted. Kind of...
Read more >
Add some explanation on sorting a QTableView - Python GUIs
But I think it avoids some of the more difficult parts of the subject, ... setFilterKeyColumn(-1) # enable sorting by columns self.
Read more >
Sort data in a table - Microsoft Support
Sorting is one of the most common tools for data management. In Excel, you can sort your table by one or more columns,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found