How to show empty message in data table angular material, If no data found

前端 未结 18 973
别那么骄傲
别那么骄傲 2021-01-07 16:51

I am using this code

 
  
    

        
18条回答
  •  我在风中等你
    2021-01-07 17:27

    In your component-name.component.html:

    Full Name {{element.fullName}} ... ... No data.

    In your style.scss or component-name.component.scss define .hide class

    .hide { display: none; }
    

    and that's all :)

提交回复
热议问题