Closed
Description
Bug, feature request, or proposal:
We really need a straightforward example of how to dynamically add a row to a table, I see some other issues in the issue tracker on this, but am still having trouble finding info on it, so I am getting frustrated tbh
What is the expected behavior?
Expected to find docs for dynamically adding a row
What is the current behavior?
Do not find docs to dynamically add a row
What are the steps to reproduce?
Look at docs until giving up
I didn't post this SO question, but there are several like it:
https://stackoverflow.com/questions/47581267/how-to-add-data-dynamically-to-mat-table-datasource
I assume the answer is something like this:
export class MyDataSource extends DataSource<any> {
// implement connect, etc
}
const ds = new MyDataSource();
// ...later on, we want to add some rows
ds.whatDoWeCallToAddSomeRowsPlease(); // ???
Adding rows dynamically should be one of the first examples in the docs, I would hope, please advise
Metadata
Metadata
Assignees
Labels
No labels