header and footer are column m-column properties to define column header and column footer respectively.

<m-table [value]=countries>
    <m-column field="country" header="Country" footer="Total Population"></m-column>
    <m-column field="population" header="Population" [footer]="sum"></m-column>
    <m-column field="capital" header="Capital"></m-column>
    <m-column field="continent" header="Continent"></m-column>
</m-table>

Column Component m-column Properties

Name Default Description
@Input()
header: string
null Header text of a column
@Input()
footer: string
null Footer text of a column

results matching ""

    No results matching ""