3

What is the difference in angular's mat-table and cdk-table and in mat-table can we render rows of table after it has been created once.

Edric
  • 24,639
  • 13
  • 81
  • 91

2 Answers2

3

As you can read from Angular Material's doc, mat-table 'extends' the CDKTable.
They has the same API, but with mat-table you have the standard of Material Design

Shifenis
  • 1,056
  • 11
  • 22
1

From the Angular Material documentation.

The mat-table provides a Material Design styled data-table that can be used to display rows of data.

This table builds on the foundation of the CDK data-table and uses a similar interface for its data input and template, except that its element and attribute selectors will be prefixed with mat- instead of cdk-.

https://material.angular.io/components/table/overview

Christoff Erasmus
  • 925
  • 1
  • 10
  • 26