Here is what I would do (keep in mind that I have not actually tried this myself!).
1- Assign the GridNumericTextBox editor to the column (or cells) that you want to format.
2- Set the <a href=”http://doc.xceedsoft.com/products/gridNet/ref/xceed.grid.editors.gridnumerictextbox.formatspecifier.html”>FormatSpecifier</a> property of the GridNumericTextBox. This topic in msdn (ms-help://MS.VSCC/MS.MSDNQTR.2003JUL.1033/cpguide/html/cpconcustomnumericformatstrings.htm) might help.
3- You also probably need to set the <a href=”http://doc.xceedsoft.com/products/gridNet/ref/xceed.grid.editors.gridnumerictextbox.formatprovider.html”>FormatProvider</a> to a NumberFormatInfo.
4- Set the FormatSpecifier and FormatProvider properties of the column you want to format (or the cells) to the same values as those of the GridNumericTextBox so that when the cells are not being edited, they will also be formatted.
Again, I did not actaully try this myself so if you have any problems I would suggest that you contact technical support (email@example.com)
Imported from legacy forums. Posted by Jenny [Xceed] (had 399 views)