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
2715
Column mask behaviour in edit/non-edit mode
posted

hi !

I'm setting a mask to a grid column like this :

            UltraGridColumn column = grid.DisplayLayout.Bands[0].Columns["Year"];

            column.MaskInput = "20##";

            column.MaskDataMode = MaskMode.IncludeBoth;

            column.MaskDisplayMode = MaskMode.IncludeBoth;

The problem is that when not in edit mode, if i have the year 1999, i get the value 2019

What shoud i change in order to get this value displayed corectly ?

Thanks!

Parents Reply Children
No Data