Skip to content
Advertisement

Tag: angular-material

Angular MatStepper fails to recognize cached values from two str arrays (but successfully recognizes values from another str array)

I have a MatStepper that’s used to navigate to the next page of a signup flow. I also have a method that loads values from a cache if it’s available, and if so then the MatStepper skips to Page 2. After that, a future method pre-fills the form will those cached values. The scenario where cachedSports are retrieved causes the

How to get current row HTML Table cell element?

I have a angular material table. If I click one row, i wanted to fetch the HTMLTableCellElement of the selected row . I tried using viewChild but the problem is i am getting whole table html element. Expected output Below is my code. Please Help me to acheive this scenario ! https://stackblitz.com/edit/angular-material-table-data-source-nym2vx?file=app/app.component.html Answer There are two changes you can make

Advertisement