Opened 9 years ago
Closed 9 years ago
#15387 closed enhancement (invalid)
More Information About Patterns in dijit.form.NumberTextBox & dijit.form.NumberSpinner
Reported by: | Fergus Hadley | Owned by: | haysmark |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | Documentation | Version: | 1.7.2 |
Keywords: | Cc: | Adam Peller | |
Blocked By: | Blocking: |
Description
It is difficult to see how to write specific patterns to format the number-based dijits. It would be very useful if someone with a good understanding of the code could add something to the docs:
http://dojotoolkit.org/reference-guide/1.7/dijit/form/NumberSpinner.html http://dojotoolkit.org/reference-guide/1.7/dijit/form/NumberTextBox.html
Change History (4)
comment:1 Changed 9 years ago by
Owner: | set to Douglas Hays |
---|---|
Status: | new → assigned |
comment:2 Changed 9 years ago by
Cc: | Adam Peller added |
---|---|
Owner: | changed from Douglas Hays to haysmark |
comment:3 Changed 9 years ago by
There's a link in the inline documentation for the pattern prop in dojo/number Unfortunately, I don't think the API parser has picked this up for a while.
http://www.unicode.org/reports/tr35/#Number_Format_Patterns
I think the unicode stuff is based off the Java NumberFormat class.
comment:4 Changed 9 years ago by
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Both of the cited pages link here:
http://dojotoolkit.org/reference-guide/1.7/quickstart/numbersDates.html#quickstart-numbersdates
This page gives the Unicode table inline and Adam's link to the full Unicode description of the format.
peller, is there number pattern (#,#0.#00) doc that I can point to?