I am creating a generic grid component that would show data for schema that I don't know anything about at compile time. Data updates (and row additions) come as sparse arrays (row4,col7='abc'; row8,col2=456). I am generating ColDef set at runtime.
I believe I understand how to grab a row by key and set data on it using the columnApi. But how do I create a new row without knowing its type? A good analogy is creating a row from a dictionary of column name to value. I am also a bit new to TypeScript and JavaScript... Maybe I am missing something obvious because of this...
Thank you.