This seems extremely bare-bones and doesn't seem to implement any useful features you might expect from a component like this(sorting, filtering, etc). I think in the vast majority of cases, I'd want to use something like tanstack table instead. Maybe this is OK for very simple scenarios, but my experience is that as soon as you need some sort of table/datagrid, you'll want more than the basics.
Not sure if DataSheetGrid is purely a UI component as the demo seems to indicate otherwise but tankstacktables just provide table functionalities without a UI. You select the framework you need (i.e. React, Vue, etc.) and the UI framework to overlay on top of it (i.e. react-bootstrap, etc.)
DSG is not meant to manage your data like tanstack (filtering, sorting, paginating...), it is meant to give your users the best possible UI / UX to edit data (which tanstack does not do since it is headless). But those two work very well together actually, I should probably write an example.