Ouvert Fermé

Customize Abp-Table #127


User avatar
0
edelivery créé

Hi all! I want to add select checkbox to abp-table but i dont't know how to made it. Currently, I'm using primeng table Thanks


5 Réponse (s)
  • User Avatar
    0
    alper créé
    Équipe d'assistance Director

    MVC or Angular?

  • User Avatar
    0
    edelivery créé

    i'm using Angular

  • User Avatar
    0
    Mehmet créé

    There is no fast way to add checkboxes to abp-table. You can add checkboxes manually.

     <ng-template #tableHeader>
        <tr>
           <th><input type="checkbox" /></th> <!-- You can add checkbox with your own logic to head-->
        </tr>
    </ng-template>
    <ng-template #tableBody let-data let-index="rowIndex">
        <tr>
          <td><input type="checkbox" /></td> <!-- You can add checkbox with your own logic to row-->
        </tr>
    </ng-template>
    

    If yo're using the primeng, you should see the table selection documentation.

  • User Avatar
    0
    edelivery créé

    Thank you so much

  • User Avatar
    0
    PriyankaK créé

    I am using MVC . Can you give solution please?

Made with ❤️ on ABP v8.2.0-preview Updated on mars 25, 2024, 15:11