how to define index in angular material table

后端 未结 5 887
栀梦
栀梦 2020-12-01 10:16

how should I define an index variable when angular material table is used as ngFor is not used in this table.

I did search for it in the documentation but index is

5条回答
  •  醉酒成梦
    2020-12-01 10:56

    If someone using , then index can be interpreted as below

     {{paginator.pageSize * paginator.pageIndex + i + 1}}
    

提交回复
热议问题