an app that includes tables
In making a decision about the design I would start with the above statement. Is the app essentially just the editable table? Or is the editable table merely one way to view / interact with the data in a much larger application? This will drive how you should define your data types and, in turn, how your table will consume this data.
I suggest reading the “About API Design” section of Evan’s elm-sortable-table package. Pay special attention to the Single Source of Truth section, as that can be very relevant here.
Moreover, you can look at the API of that package for some ideas that are tangential to your needs. Things like applying custom styling (as well as an actual table display) are demonstrated by that package.