React FlexGrid Column, setting isRequired to false, values not saved to cell

Posted by: brian.lee on 23 April 2019, 12:04 am EST

  • Posted 23 April 2019, 12:04 am EST

    In an editable grid, I set the isRequired value to false for a number column. I am able to change the values without any issues. When I clear out the cell value and goes to another cell, the previous value returns. The cell will not remain empty.

    FYI - I have the cell defined as:
    1) dataType: 2
    2) format: 'P7'
    3) isRequired: false

    Any ideas on why this is happening?
  • Marked as Answer

    Replied 23 April 2019, 7:19 pm EST

    Hi,

    We are sorry but we were unable to replicate the issue at our end. Please refer to the sample that we used to replicate the issue:
    https://codesandbox.io/s/zl63nj9qzl

    In the above sample when we clear the value from cell in amount column and leave the cell, then the cell value is shown to be '0.0000000%' as expected(since 'p7' format is applied).
    Please feel free to modify the sample so that it replicates the issue.

    ~Sharad
  • Replied 25 April 2019, 2:00 am EST

    Hi Sharad,

    The exampled help. I was able to resolve.

    -Brian
Need extra support?

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

Learn More

Forum Channels