DataTables: Cannot read property style of undefined

前端 未结 11 772
时光取名叫无心
时光取名叫无心 2020-12-23 15:42

I am getting this error with the following:

jquery.dataTables.js:4089 Uncaught TypeError: Cannot read property \'style\' of undefined(…)
_fnCalculateColumnWi         


        
11条回答
  •  鱼传尺愫
    2020-12-23 16:13

    I had this issue when i set colspan in table header. So my table was:

            
                
                    Expenses
    
                    Income
    
                    Profit/Loss
                
            
    

    Then once i change it to:

            
                
                    Expenses
                    
                    Income
                    
                    Profit/Loss
                
            
    

    Everything worked just fine.

提交回复
热议问题