Newbie - How Do I Install the Zero Configuration DOM?
Newbie - How Do I Install the Zero Configuration DOM?
I copied 2 .js scripts into my server and added a table into my web page but still cannot see the table. Is it just a matter of copying .js files and making sure my web page has the proper headings and table? Or, do I need to contact my programmer and have them fiddle with the server?
I only know simple html and some css but a novice otherwise.
Any help would be great!
I only know simple html and some css but a novice otherwise.
Any help would be great!
This discussion has been closed.
Replies
1) include jquery js
2) include datatables js
3) have a table (table must have )
4) intialize the table to be a DataTables object
optional
1) include a css document
[code]
$(document).ready(function() {
$('#example').dataTable();
} );
Rendering engine
Browser
Platform(s)
Engine version
CSS grade
Trident
Internet
Explorer
4.0
Win 95+
4
X
Trident
Internet
Explorer 5.0
Win 95+
5
C
[/code]
2) include datatables js (I copied the /jquery.dataTables.js file and sent it to my server)
3) have a table (table must have ) (I have that - see attached)
4) intialize the table to be a DataTables object (not sure what this means!)
My page so far:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
DataTables example
@import "/release-datatables/media/css/demo_page.css";
@import "/release-datatables/media/css/demo_table.css";
$(document).ready(function() {
$('#example').dataTable();
} );
Column 1
Column 2
etc
Row 1 Data 1
Row 1 Data 2
etc
Row 2 Data 1
Row 2 Data 2
etc
http://code.google.com/p/jquery-datatables-editable/source/browse/trunk/media/images/forward_enabled.jpg?r=65&spec=svn65
The only thing left? My table is not centered and is as wide as the screen. Any ideas as to how to get this to render like its example?