Feature #672
closedWt::Dbo bool fields
0%
Description
in this issue http://redmine.webtoolkit.eu/boards/2/topics/301
"I think the bool type could actually be supported by the library itself..."
Could you provide bool type supported by the library, please?
Updated by Koen Deforche over 13 years ago
- Status changed from New to InProgress
- Assignee set to Koen Deforche
Fair enough... We should have seen that one coming :-)
Updated by Koen Deforche over 13 years ago
- Status changed from InProgress to Resolved
Available in latest git
Updated by Momo LALMI over 13 years ago
I think something is missing for boolean fields, I got the following error when using WAbstractItemDelegate to display bool fields as images ( checked and not checked):
WAbstractItemModel: unsupported type bool
may be you can solve this by adding bool support in WBoostAny.C , please let me know if you are planing to do something for this issue
Updated by Momo LALMI over 13 years ago
to generate the error I have used : asString(index.data(DisplayRole));
and the data type was boolean
I was expecting to have "true" or "false" as result ;)
Updated by Koen Deforche over 13 years ago
Hey Mohammed,
This bug talked about Wt::Dbo, not WAbstractItemModel ...
You are right about WAbstractItemModel though, support for 'bool' is lacking, and could be added indeed. Can you file this as a new feature request (I cannot reopen this issue anyway) ?
Regards,
koen
Updated by Koen Deforche about 13 years ago
- Status changed from Resolved to Closed