Wijmo Grid Cell Edit Issue - CollectionView Validation

Posted by: naresh.adla on 8 January 2020, 7:58 am EST

    • Post Options:
    • Link

    Posted 8 January 2020, 7:58 am EST

    We are using Wijmo licensed vesion.

    We are using CollectionView Validation for the grid. We are not able to give the proper value for a invalid cell.

    The cellEditEnding is being called with event.cancel to true and cellEditEnded is not being called and the valid value is not being identified

    Could you please help here…

  • Posted 9 January 2020, 1:58 am EST

    Hi Naresh,

    This is the expected behavior. Setting the cancel property to true, FlexGrid will prevent the event propagation to the CellEditEnded event. Could you let me know your use case so that I can provide you with a solution that suits your requirements?

    Regards,

    Ashwin

  • Posted 9 January 2020, 3:35 am EST

    Validation is working fine. We are not able to edit other cells except the invalid(red color border)cells. That is good.

    But the issue here is it is not allowing me to give the proper or reuired(valid) value. When I am trying to give the valid value cellEditEnded is not being called.

  • Posted 9 January 2020, 3:35 am EST

  • Posted 9 January 2020, 4:18 am EST

    Hi,

    Could you please set the validateEdits property of FlexGrid to false and let us know if it works for you?

    https://www.grapecity.com/wijmo/api/classes/wijmo_grid.flexgrid.html#validateedits

    ~regards

  • Posted 9 January 2020, 4:21 am EST

    Yes it is working. Thank you !

Need extra support?

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

Learn More

Forum Channels