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

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

    • Post Options:
    • Link

    Posted 23 April 2019, 9: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?

  • Posted 24 April 2019, 4:19 am 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

  • Posted 25 April 2019, 11: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