I\'m trying to get the index of row in table, in html, which has been implemented using angular material v5.2. Is there any method available to get the index?
I know this post is old but the above solution didn't work for me.
instead if let i = index; try let i = dataIndex for latest version of mat-table check
this solution. Don't know if it's just for expandable table though