creating a table in ionic

后端 未结 9 1458
一向
一向 2021-01-31 03:27

I am in need of creating a table in Ionic. I thought of using Ionic grid but could not achieve what I wanted. How can I do this? Here is an image of something similar to what i

9条回答
  •  半阙折子戏
    2021-01-31 04:09

    This is the way i use it. It's very simple and work very well.. Ionic html:

      
     
    
      
    
        
          
            
              
                Your title remove if don't want use
              
            
          
        
    
        
          
            Data
          
    
          
            Cliente
          
    
          
            Pagamento
          
        
    
    
        
          
            
                19/10/2020
            
          
    
            
              
                Nome
              
            
      
            
              
                R$ 200
              
            
        
    
      
    
    

    CSS:

    .header-row {
      background: #7163AA;
      color: #fff;
      font-size: 18px;
    }
    
    ion-col {
      border: 1px solid #ECEEEF;
    }
    
    

    Result of the code

提交回复
热议问题