problems with complex header
problems with complex header
I'm using the latest version, and I saw that it supports complex header. However, I get this error while using datatable.
[quote]Uncaught TypeError: Cannot read property 'className' of undefined [/quote]
at jquery.dataTables.js line 669
this is html code
[code]
<!-- BEGIN:main -->
Contract Details
Delivery
Basis Terminal Month
Fixed
Unfixed
Trigger
Payment
Contract Ref
Supplier/Buyer
Grade
Days Pending
Tons
Delivered
Balance
Status
Tons
Contract Price
Contract FOB Price
Mark To Market Price
Outright Exposure FOB
Tons
Contract FOB Diff
Mark To Market FOB Diff
Differential Exposure FOB
Strike Price
Variance
Days
Due Date
Days Late
<!-- BEGIN:row -->
{count}
{ref_number}
{supplier}
{grade}
{pending_day}
{contract_tons}
{delivered_tons}
{pending_tons}
{terminal_month}
{fixed_tons}
{contract_price}
{contract_fob_price}
{market_price}
{outright_fob}
{unfixed_tons}
{contract_fob_diff}
{market_fob_diff}
{differential_fob}
{strike_price}
{variance}
{trigger_days}
{payment_due_date}
{payment_days_late}
<!-- END:row -->
<!-- END:main -->
[/code]
and this the javascript
[code]
$(document).ready(function(){
$("#myTable").dataTable();
});
[/code]
So do I wrong something, please help me!
thanks ^^
[quote]Uncaught TypeError: Cannot read property 'className' of undefined [/quote]
at jquery.dataTables.js line 669
this is html code
[code]
<!-- BEGIN:main -->
Contract Details
Delivery
Basis Terminal Month
Fixed
Unfixed
Trigger
Payment
Contract Ref
Supplier/Buyer
Grade
Days Pending
Tons
Delivered
Balance
Status
Tons
Contract Price
Contract FOB Price
Mark To Market Price
Outright Exposure FOB
Tons
Contract FOB Diff
Mark To Market FOB Diff
Differential Exposure FOB
Strike Price
Variance
Days
Due Date
Days Late
<!-- BEGIN:row -->
{count}
{ref_number}
{supplier}
{grade}
{pending_day}
{contract_tons}
{delivered_tons}
{pending_tons}
{terminal_month}
{fixed_tons}
{contract_price}
{contract_fob_price}
{market_price}
{outright_fob}
{unfixed_tons}
{contract_fob_diff}
{market_fob_diff}
{differential_fob}
{strike_price}
{variance}
{trigger_days}
{payment_due_date}
{payment_days_late}
<!-- END:row -->
<!-- END:main -->
[/code]
and this the javascript
[code]
$(document).ready(function(){
$("#myTable").dataTable();
});
[/code]
So do I wrong something, please help me!
thanks ^^
This discussion has been closed.