md-table - How to update the column width

后端 未结 18 2165
离开以前
离开以前 2020-12-04 10:58

I have started using the md-table for my project, and I want fixed column width. Currently all columns width are divided into equal size.

Where can I get the documen

18条回答
  •  孤城傲影
    2020-12-04 11:06

    Check this: https://github.com/angular/material2/issues/5808

    Since material2 is using flex layout, you can just set fxFlex="40" (or the value you want for fxFlex) to md-cell and md-header-cell.

提交回复
热议问题