FlexGrid does not keep cell blank after deleting content

Posted by: stephen on 12 August 2021, 8:06 pm EST

  • Posted 12 August 2021, 8:06 pm EST

    In my app am using a FlexGrid with quick editing so that it works somewhat like Excel. I find that once a cell has a value, it is impossible to delete the value.

    An example:

    • Open the “Excel-Style Quick-Editing” Wijmo demo.
    • Edit any cell in the Id, Downloads, Sales or Expenses columns.
    • Delete the content. It seems to be gone.
    • Finish editing with ENTER, TAB or clicking elsewhere. The value is back.

    Funny though is that the Country column in the example works as expected – deleted content stays blank after editing.

    Am I missing something obvious?

    Thanks for your time looking into this.

  • Posted 12 August 2021, 8:17 pm EST

    Found the answer! I needed to set isRequired: false for columns that allow blank values :slight_smile:

  • Posted 12 August 2021, 11:01 pm EST

    Hi Stephen,

    I am glad you were able to resolve your issue. Let us know in case you run into any other issues.

    Regards,

    Ashwin

Need extra support?

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

Learn More

Forum Channels