Expandable table rows in angular 4 with angular material

前端 未结 4 1309
别跟我提以往
别跟我提以往 2020-11-28 02:54

How would you make rows expandable in angular material tables? One requirement is that I need to be using the angular material table. I would also prefer to use the material

4条回答
  •  借酒劲吻你
    2020-11-28 03:19

    When CDK was the only way to get something close to a Material Table, using md-row's in a regular table was a viable alternative, but since @angular/material 2.0.0-beta.12 ditched CDK tables and now have their own Data Tables that might fit your needs. See documentation below:

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

提交回复
热议问题