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

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

I am using this code

 
  
    

        
18条回答
  •  猫巷女王i
    2021-01-07 17:11

    You can add a condition on your dataSource directly without having to access the data or its length:

    
    

提交回复
热议问题