Open Closed

Cannot get let-index from abp-table in Angular UI #123

User avatar
drpdev2 created

I refered to to create table by abp-table. But I cannot get the index of data to display column Order in my table.

We are generally get index as the Angular guide: Could you share how to get index in abp-table?

The following is my code, I tried to get index in #tableBody. <ng-template #tableBody let-data let-index="index"> <tr> .... <td>{{ index }}</td> ...

1 Answer(s)
  • User Avatar
    Mehmet created
    Support Team

    Hi @drpdev2

    It should be rowIndex as shown below:

    <ng-template #tableBody let-data let-index="rowIndex">
    {{ index }}
Made with ❤️ on ABP v8.0.0 Updated on November 17, 2023, 08:43