In NumberBox, you can use LDML-pattern masks for formatting values. #
and 0
special characters apply the following limitations to NumberBox behavior:
0
is in the mask, users cannot erase this character in NumberBox.#
characters are in the mask (without 0
characters), users cannot enter numbers starting with 0
(for example, 0.123).This example demonstrates how to overcome these limitations. You can test this implementation in standalone and DataGrid FilterRow editors:
Define the onKeyDown event handler and switch between zero-based and non-zero formats of the same structure to get the desired result.
(you will be redirected to DevExpress.com to submit your response)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4