Actions
Bug #2284
closedCtrl-click not deselecting a row when Wt::SelectionMode::SingleSelection is set
Start date:
10/04/2013
Due date:
% Done:
0%
Estimated time:
Description
With the following settings on a Wtableview, holding down the control button and clicking on a selected row doesn't deselect the row
tableView = new Wt::WTableView();
tableView->setAlternatingRowColors(true);
tableView->setSelectable(true);
tableView->setSelectionMode(Wt::SelectionMode::SingleSelection);
tableView->setSelectionBehavior(Wt::SelectionBehavior::SelectRows);
However, with the selection mode changed to this:
tableView->setSelectionMode(Wt::SelectionMode::ExtendedSelection);
control-click works as expected, and deselects a selected row.
I believe control-click should work on a single selection table, too.
John
Updated by Koen Deforche about 11 years ago
- Status changed from New to InProgress
- Assignee set to Koen Deforche
Hey,
I recall that we did this intentionally because this was the behavior that we had observed somewhere but I agree that in hindsight this was a silly decision.
Regards,
koen
Updated by Koen Deforche almost 11 years ago
- Status changed from InProgress to Resolved
- Target version set to 3.3.2
Updated by Koen Deforche almost 11 years ago
- Status changed from Resolved to Closed
Actions