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

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

I am using this code

 
  
    

        
18条回答
  •  长情又很酷
    2021-01-07 17:35

    You can simply use the *ngIf directive to check if dataSource is not empty.

     
      
         tâche 
         {{element.tache}} 
      
    
      
         outil 
         {{element.outil}} 
        
      
      
    
    
    

    No records found

提交回复
热议问题