Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
Wingrid format cell question
posted

I can't seem to get the formatting of a cell to show.  I have the following code in the  InitializeLayout of my wingrid.

 I have tried = "##-###-###" as well as the below format string and all I ever get in the cells are the 8 numbers without formatting.

.Columns.Item("StructureNbr").CellDisplayStyle = Infragistics.Win.UltraWinGrid.CellDisplayStyle.FormattedText

.Columns.Item("StructureNbr").Format = "00-000-000"

.Columns.Item("StructureNbr").MaskInput = "nn-nnn-nnn"

.Columns("StructureNbr").MaskDataMode = Infragistics.Win.UltraWinMaskedEdit.MaskMode.Raw

So, what is my error? 

 

Parents
No Data
Reply Children
No Data