Range delete doesnt work well with Immutability Provider

Posted by: tdnooij on 30 June 2025, 10:21 am EST

  • Posted 30 June 2025, 10:21 am EST

    Hi,

    It’s currently not possible to delete cells from a single column. Interestingly, when multiple columns are selected, deletion works as expected. I would expect the same behavior even when only one column is selected.

    For example, try deleting 3 elements from the “Country” column alone, and then compare that with deleting 3 elements when both “Country” and “Product” columns are selected.

    You can observe this in the following demo:

    https://developer.mescius.com/wijmo/demos/Grid/Data-binding/ImmutableData/Redux/EditableReduxGrid/react

    The expected behavior would be similar to what’s shown in the example without the ImmutabilityProvider.

    https://developer.mescius.com/wijmo/demos/Grid/Columns/ColumnPicker/react

    Regards,

  • Posted 1 July 2025, 6:17 am EST

    Hi Thomas,

    This query is answered on our other portal, here’s a copy of the response -

    This seems like an unexpected behavior for the ImmutabilityProvider, so we have forwarded this issue to the engineering team for further investigation with internal tracking ID - WJM-36636. We will update you when we have an update from the engineering team on the same.

    For now, as a workaround, you can wrap the content of the ‘dataChanged’ event handler function inside a ‘setTimeout’ function. Please refer to the following sample demonstrating the same - https://jscodemine.mescius.io/share/AsyIu3I3OkKTp6VgZSaYXw/

    In case, you face any issues, please let us know.

    Regards

Need extra support?

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

Learn More

Forum Channels