Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Hi,
I would like to be able to change the Cut / Paste behavior of the grid dynamically based upon an [IsEditable] property.
I have bound the AllowEditing property of the grid to an IsEditable backing property, but have found that the cut and paste behaviour does not change if the IsEditable property is changed.
eg. if IsEditable = false initially, I cannot paste into the grid if I toggle to true.
Equally, if IsEditable = true initially, I can still paste into the grid if I toggle to false.
I tried calling StateHasChanged after toggling the value, but this had no impact.
I have attached a solution based upon a Syncfusion sample for your reference.