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
400
How to mask inputs in UltraNodeColumn?
posted

Hi,

         UltraTree is bound to a datatable having multiple columns.  In this bound tree there are few columns of type Decimal and Int.  I would like to restrict entry of invalid characters in these columns, How can this be achieved? 

With WinGrid the same functionality can be achieved by setting ColumnStyle property to double, I have not found similar support in UltraTree. I would like to know if there is any other way to achieve the same functionality.

Thanks for any help,

spm

 

Parents
No Data
Reply
  • 5
    Verified Answer
    posted

    My solution is setting the EditorControl of the column to an UltraMaskedEdit contro. In the UltraMaskedEdit control you have various standard masks to select from including digits only. Just to clarify you don't need to enable editing, just set the UltraMaskedEdit as the EditorControl.

     

    All the best,

    Stefan 

Children
No Data