Actions
Bug #14642
opencharts.wt example: editing does not convert to numeric properly
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
07/02/2026
Due date:
% Done:
0%
Estimated time:
Description
To reproduce, go here:
https://www.webtoolkit.eu/wt/examples/charts/charts.wt
In the first table, change the first cell under Rural Male from 66 to 52, for example. Then sort by Rural Male.
You will notice that the newly edited field sorts by string while the others sort by number.
The example code seems to setup a prototype that is supposed to handle this, but I don't think it is ever called. The bug is above my pay grade. :-)
Thanks,
- Chris
Files
Actions
#1
Updated by Chris Frey 16 days ago
- File 0001-ChartsExample.C-use-adjusted-dt-instead-of-argument-.patch 0001-ChartsExample.C-use-adjusted-dt-instead-of-argument-.patch added
- File 0002-WStandardItem-use-clone-instead-of-the-hardcoded-WSt.patch 0002-WStandardItem-use-clone-instead-of-the-hardcoded-WSt.patch added
- File 0003-WStandardItemModel-reset-the-entire-invisibleRoot-on.patch 0003-WStandardItemModel-reset-the-entire-invisibleRoot-on.patch added
Well, maybe it wasn't above my pay grade. :-)
I've attached some git formatted patches that may help officials track down and fix this issue.
Thanks,
- Chris
Updated by Chris Frey 16 days ago
Those patch files have comments in them...not sure how to show them in the bug tracker without downloading them.
Actions