Open jeanpoulin opened 3 years ago
Projects using Blazor WASM must manually update the key value of the inserted row in the client side.
I´ve updated the samples and documentation to explain how to use this feature for Blazor WASM projects.
Projects using Blazor Server-side and Blazor client-side with OData back-end don't require to manually update the key value
Describe the bug With nested Grid (using your demo - Nester CRUD ). After saving/inserting the order record, I want to pass in edit mode in order to be able to add the order details rows. I tried to find one of your demo that would do it but found none. By reading your docs, I read that we need to add .SetEditAfterInsert(true) to the order grid. When I add .SetEditAfterInsert(true) it saves the order in the DB but I stay on the same page with a red error "there was an error creating the item" and I have to way to add details rows. The only other error I'm able to trap is in the output window is 3 identical lines: Response status code does not indicate success: 404 (Not Found). ps: Beside that, everything works pretty awesome. Thanks
Browser: Chrome 89.0.4389.82 On Desktop Windows 10
Expected behavior After save of the Order, to be redirected in Edit mode of the Order newly created in order to able to add orderdetails rows.