Project

General

Profile

Actions

Bug #14300

closed

WTableView not removing existing columns when all rows are removed from a WStandardItemModel.

Added by Romain Mardulyn about 2 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
02/04/2026
Due date:
% Done:

0%

Estimated time:

Description

When removing all the rows of a WStandardItemModel inside a WTableView using WStandardItemModel::removeRows(), the WTableView does not remove the columns it already has. However, when a new row is added, using WStandardItemModel::appendRow(), all the column in the new row are added as new column instead of reusing the existing ones.

This is likely an issue with WTableView as setting the same WStandardItemModel using WTableView::setModel() solves the issue.

Actions #2

Updated by Romain Mardulyn about 2 months ago

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn
Actions #3

Updated by Romain Mardulyn about 2 months ago

  • Status changed from InProgress to Review
  • Assignee deleted (Romain Mardulyn)
Actions #4

Updated by Matthias Van Ceulebroeck about 2 months ago

  • Assignee set to Matthias Van Ceulebroeck
Actions #5

Updated by Romain Mardulyn about 2 months ago

  • Status changed from Review to Implemented @Emweb
  • Assignee changed from Matthias Van Ceulebroeck to Romain Mardulyn
Actions #6

Updated by Romain Mardulyn about 1 month ago

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: Atom PDF