No data available in table with IE
No data available in table with IE
Hi, I have a table that is Java driven from an oracle database with about 400 records and the following structure:
[code]
[/code]
I'm using a basic init with a sort on the number one column:
[code]
jQuery("#striped").dataTable( {
"aaSorting": [[1,'asc']]
});
[/code]
I can't get this to display in IE, it simply loads a while longer then the other browsers and displays "No data available in table".
Any ideas?
[code]
[/code]
I'm using a basic init with a sort on the number one column:
[code]
jQuery("#striped").dataTable( {
"aaSorting": [[1,'asc']]
});
[/code]
I can't get this to display in IE, it simply loads a while longer then the other browsers and displays "No data available in table".
Any ideas?
This discussion has been closed.
Replies
I was able to get the plugin working in IE, but now I get an error.
Line: 2731
Error: Object doesn't support this property or method
[code]2731 aLocalData[jInner] = $(nTds[j]).text().trim();[/code]
I think the problem probably stems from the fact that unfortunately your HTML is invalid. The TBODY can only have the TR element as a child element(s) - from the HTML 4 strict doc type:
[code]
<!ELEMENT tbody (tr)+>
[/code]
DataTables does a lot of using child elements to speed up processing as must as possible, so it requires the HTML structure to be valid. I suspect that this is the root of the issue.
What did you do to get it working in IE?
Regards,
Allan
I ended up having to use the 1.7.6.dev script and it fixed the error I was getting.
Allan
Regards,
Allan