| Summary: | databinding: numbers are automatically formatted | ||
|---|---|---|---|
| Product: | [Technology] XWT | Reporter: | moritzpavlik |
| Component: | Core | Assignee: | Project Inbox <e4.xwt-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | yves.yang |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
moritzpavlik
You can disable it by override the default convertor. There are two solutions:
1. Override the system default convertor
XWT.registerConvertor(IConvertor)
2. set up a local convertor in the binding
text="{binding path=age,convertor=MyIntConvertor}"
The MyIntConvertor must implement IValueConvertor
It is by design. |