Format in FlexGrid

Posted by: elogsdon on 13 August 2020, 6:40 am EST

  • Posted 13 August 2020, 6:40 am EST

    I have a flex grid and I am applying a format string to some columns. If I have a format string I can only enter the first character of my data. If I cut and paste the data string it enters as I would expect.

    For example:
    I have a column to hold social security numbers and I add a mask of "999-99-9999". When I add a new row the column show ___-__-____ as I would expect. When I enter the first digit, it shows 1__-__-____. At that point I am unable to enter the second or subsequent digits. If I copy and paste 123456789 it shows as 123-45-6789. Is there some other attribute I need to use in conjunction with the mask attribute?
    Editing an existing value also shows the same behaviour.

    Eric.
  • Marked as Answer

    Replied 13 August 2020, 6:42 pm EST

    Hello Eric,
    We are sorry, we are unable to replicate the issue at our end. Please refer to the attached sample for reference.

    Regards,
    Manish Gupta

    FlexGrid-ColumnMask.zip
  • Replied 14 August 2020, 12:27 am EST

    I think I see the issue. I had set MaxLength of 11 on the column. Setting the MaxLength to zero allows me to enter all of the characters. I'll just have to make sure I don't set a MaxLength if there is a Mask.

    Eric
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels