anmcgrath / BlazorDatasheet

Simple excel-like datasheet Blazor component
MIT License
163 stars 40 forks source link

How can I save sheet data to an object? #55

Closed Actii closed 7 months ago

Actii commented 8 months ago

Is there a simple way to save a sheet with values to an obj in order to save the data in a database? And then restore it.

lucasmoraiss commented 4 months ago

How did you manage to do it?

ADefWebserver commented 4 months ago

Perhaps what I have here will help: https://github.com/ADefWebserver/BlazorDatasheet/blob/main/src/BlazorDatasheet.SharedPages/Pages/DataEditor.razor I determine what has changed and do an update. I will need to do inserts and deletes. Also it is not updating dates correctly yet.