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
65
Grid Cell Input Mask
posted

Is there any way to set the input mask on a cell on an individual basis, instead of having it apply to the entire column?  I am developing an applicaiton module that generates a summary of business contacts, some of which may be located outside of the United States.  As such, their telephone number masking will be different from the American standard.

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Yes, you can do this using editors. What you do is set the column's UseEditorMaskSettings property to true. This tells the grid column that the mask properties on the editor override the grid column's settings. Then you create an UltraNumericEditor, UltraCurrencyEditor, or UltraMaskEdit control on the same form with the grid and set it's mask properties how you want then. Set the EditorControl property on the Cell ot the appropriate editor control with the mask settings you want. 

Children