How to Print HTML Table to Excel Format in Javascript?
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- 客户关系管理
 - e-Commerce
 - 会计
 - 库存
 - PoS
 - Project
 - MRP
 
此问题已终结
            
                1
                
                    回复
                
            
        
        
            
                5655
                
                    查看
                
            
        
    Hi,
I think the best way to achieve this is to retrieve all datas from your table ( as a dictionary ), then use the package xlsxwriter to build your own Excel file: pip install xlsxwriter
and here's the doc : https://xlsxwriter.readthedocs.io/ where you can find example of how to build sheets, insert datas, formatting cells.. and so on.
Hope this helps.
Regards.
Its good but i will try to create via javascript.
Try to Export Multi HTML table into a single Excel File.
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
| 
             | 
        
            
                
                1
            
            
             5月 21  
         | 
        3931 | ||
| 
             | 
        
            
                
                2
            
            
             5月 20  
         | 
        10452 | ||
| 
             | 
        
            
                
                0
            
            
             3月 19  
         | 
        3953 | ||
| 
             | 
        
            
                
                0
            
            
             10月 18  
         | 
        6810 | ||
| 
             | 
        
            
                
                3
            
            
             5月 22  
         | 
        9742 |