Details
-
Suggestion
-
Resolution: Fixed
-
P4: Low
-
Some future release
-
None
-
8e63cf282 (dev), a9e464119 (6.8)
Description
Currently QTableWidget allows drag and drop but it only allows you to move blocks of cells within the grid. This is not all that useful. I think a much more frequent case is that users want to rearrange rows or columns. It would be nice to add a drag and drop mode that can rearrange rows or columns. Attached find some code that leverages the existing Qt code to have drag and drop rearrange rows.
Attachments
Issue Links
- relates to
-
QTBUG-101475 QTableWidget cannot internal move item
-
- Closed
-
For Gerrit Dashboard: QTBUG-13873 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
581090,7 | QTableView: implement moving rows by drag-n-drop | dev | qt/qtbase | Status: MERGED | +2 | 0 |
586629,2 | QTableView: implement moving rows by drag-n-drop | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |