Átomos >

Tablas

Anatomía

Las casillas de verificación son un extensión que permite hacer control de selección sobre la información

Implementación

				
					<p-table [value]="products" [tablestyle]="{ 'min-width': '50rem' }">
    <ng-template ptemplate="header">
        <tr>
            <th>Column 1</th>
            <th>Column 2</th>
            <th>Column 3</th>
        </tr>
    </ng-template>
    <ng-template ptemplate="body" let-product>
        <tr>
            <td>{{ product.code }}</td>
            <td>{{ product.name }}</td>
            <td>{{ product.category }}</td>
        </tr>
    </ng-template>
</p-table>
				
			
en_USEnglish