Aperto Chiuso

Customize Abp-Table #127


User avatar
0
edelivery creato

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 risposte
  • User Avatar
    0
    alper creato
    Team di supporto Director

    MVC or Angular?

  • User Avatar
    0
    edelivery creato

    i'm using Angular

  • User Avatar
    0
    Mehmet creato

    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 creato

    Thank you so much

  • User Avatar
    0
    PriyankaK creato

    I am using MVC . Can you give solution please?

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