Why is this not working??
Why is this not working??
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Insert title here
@import "css/demo_page.css";
@import "css/demo_table.css";
$(document).ready(function() {
console.log('In the Doc ready');
// should reorder the table
var oTable = $('#theTable').dataTable({
"sDom" : 'Rlfrtip',
"oColReorder": {
"aiOrder": [2,0,1]
}
});
});
In the DataTables Web App
Product
Model
Cost
Hand Saw
Shark
$12.00
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Insert title here
@import "css/demo_page.css";
@import "css/demo_table.css";
$(document).ready(function() {
console.log('In the Doc ready');
// should reorder the table
var oTable = $('#theTable').dataTable({
"sDom" : 'Rlfrtip',
"oColReorder": {
"aiOrder": [2,0,1]
}
});
});
In the DataTables Web App
Product
Model
Cost
Hand Saw
Shark
$12.00
This discussion has been closed.
Replies
Allan
I have to admit that I missed the errors, also there is an html 5 attribute class in the when the page identifys as an html 4. The test code for the colOrder doesn't work, its missing the scripts to perform the colOrder.
Not sure if the site is put through a QA process. It should if DataTables id going to ask for some form of donatation, a professionals to use the libraries.
In addition, there is nothing wrong with the meta tag you quote: maybe try searching for a couple of seconds before so publicly exposing your lack of knowledge?
As far as professionalism of the site goes, I'm happy to say that both the DataTables product and the support Allan provides clearly outshine that of any similar sites I'm familiar with. And, quite astonishingly, it's pretty much all done for donations.
In short: please put your own posts through some sort of QA process. And apologies for my grumpiness to anyone else reading this!
@jlopes151 - If you have a specific support request, please open a new thread with a link to a test case showing the issue so we can address it. The same applies to bugs that you might find on this site or anywhere else in my software.
@pmccann - Thank you for your support :-).
Regards,
Allan