Open Closed

Customize Abp-Table #127


User avatar
0
edelivery created

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 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    MVC or Angular?

  • User Avatar
    0
    edelivery created

    i'm using Angular

  • User Avatar
    0
    Mehmet created

    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 created

    Thank you so much

  • User Avatar
    0
    PriyankaK created

    I am using MVC . Can you give solution please?

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