Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Inline text editing with Mat-table:

Does anyone have a good solution to adding inline text editing to a column where you can edit and save and re-edit with mat table like in this example: https://material.io/design/components/data-tables.html#behavior it look like it's still an open issue on gitHub: https://github.com/angular/material2/issues/5982

enter image description here

like image 205
Flash Avatar asked Jan 01 '23 03:01

Flash


1 Answers

The git hub issue you mentioned has a few implementations people have come up with.

You can get inspiration from this:

https://stackblitz.com/edit/material2-beta12-es19ub?file=app%2Fapp.component.html

or this: https://stackblitz.com/edit/angular-g5u7cy?file=app%2Ftable-editing-example.html

I would go through the github issue to see the different options people have come up with.

like image 194
abann sunny Avatar answered Jan 11 '23 18:01

abann sunny