Project

General

Profile

Actions

Bug #11984

closed

WTableView dragging and dropping

Added by Matthias Van Ceulebroeck about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
09/26/2023
Due date:
% Done:

0%

Estimated time:

Description

In a WTableView, the table can be configured in such a way that the elements of the model that the view displays can be dragged and dropped.
This offers a more intuitive way to sort items compared to selecting an element and pressing your keyboard or some buttons attached to the view.

There are currently two issues with this:

  1. When selecting an item and dragging it to anywhere in the table, it will always try to position itself under the nth element, where n is the number of the column where the cursor is located. Even if the cursor is positioned closer to another row.
  2. When selecting an item and dragging it out of bounds of the parent container (class tcontainer inside of the Wt-tableview), a JS error occurs, crashing the functionality until a reload occurs.

Related issues 1 (0 open1 closed)

Related to Bug #11985: WTableView with WStringListModel drag & drop data disappearingClosedMatthias Van Ceulebroeck09/26/2023

Actions
Actions #1

Updated by Matthias Van Ceulebroeck about 1 year ago

  • Status changed from InProgress to Review
  • Assignee changed from emil de keyser to Matthias Van Ceulebroeck
Actions #2

Updated by Matthias Van Ceulebroeck about 1 year ago

  • Related to Bug #11985: WTableView with WStringListModel drag & drop data disappearing added
Actions #3

Updated by Matthias Van Ceulebroeck about 1 year ago

  • Status changed from Review to Implemented @Emweb
  • Assignee changed from Matthias Van Ceulebroeck to emil de keyser
Actions #4

Updated by Matthias Van Ceulebroeck about 1 year ago

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: Atom PDF