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
485
format cells in WinGrid
posted

I've been trying to convert a VB6 with UltraGrid to VS2008 with NetAdvantage (10.3).  Major headache but ... What all do I need to do to the cell columns -- I've had issues with Nullable string error and now string to decimal error.  I made a column format = c2 but when the user enters $0.00 they get the string to decimal error. What do I need to set in order for them to enter a numeric number which was how I enter the data during test, and them using using the $ in their input.

Thanks

RA Smith

 

Parents
  • 53790
    posted

    Hi,

     

    I suggest you to create a decimal mask for this column.

    -          Start the UltraGrid designer

    -          Select “Band and column settings” -> “Band”->Columns

    -          Select your column in the right side

    -          Find and change property “MaskInput” with some of decimal masks. For example:   {double:-9.4:c}

     

    Please inform me is it useful for you and if you have any additional questions, please write me.

     

    Sincerely

    Georgi

    Developer Support Engineer

    Infragistics, Inc.

    www.infragistics.com/support

Reply Children