get index of row in angular material table v5

后端 未结 8 771
别那么骄傲
别那么骄傲 2020-12-08 19:43

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?

The co

8条回答
  •  一整个雨季
    2020-12-08 20:32

    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

提交回复
热议问题