Empty Table - aLayout[0] is undefined
Empty Table - aLayout[0] is undefined
Can anyone suggest how I should specify an empty table. I have the following html:
[code]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
$(document).ready(function() {
$('#orderTable').dataTable();
});
[/code]
I am getting the following error
aLayout[0] is undefined
[Break on this error] for ( i=0, iLen=aLayout[0].length ; i
[code]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
$(document).ready(function() {
$('#orderTable').dataTable();
});
[/code]
I am getting the following error
aLayout[0] is undefined
[Break on this error] for ( i=0, iLen=aLayout[0].length ; i
This discussion has been closed.
Replies
HTH
ruzz
[code]
[/code]
I do not get any errors but now the table reports there is 1 row present when there is not:
Showing 1 to 1 of 1 entries
Regardless, is the table (datatable) now working correctly?
The correct table is:
[code]
[/code]
Thanks for the help.