Very basic usage question
Very basic usage question
I'm currently stuck on the very basic zero configuration example. I've tried making my own tables based on the code presented in the example, but resulting table just appears to be a standard HTML table. I don't get the search box, the sortable headers, etc. This is a screenshot of what I'm getting: https://www.dropbox.com/s/8is7kdtui5c5w0m/BadTable.tiff
The code itself is very simple and I'll attach it to the bottom of this message. I'm sure I'm missing something obvious, but I've been looking at this for the last couple of hours and have made no progress.
Any help would be much appreciated.
Thanks,
Phil
[code]
<!DOCTYPE html>
Mock page
@import "css/demo_table.css";
@import "css/demo_page.css";
$(document).ready(function() {
$('#example').dataTable();
} );
Column 1
Column 2
Data A1
Data B1
Data A2
Data B2
Column 1
Column 2
[/code]
The code itself is very simple and I'll attach it to the bottom of this message. I'm sure I'm missing something obvious, but I've been looking at this for the last couple of hours and have made no progress.
Any help would be much appreciated.
Thanks,
Phil
[code]
<!DOCTYPE html>
Mock page
@import "css/demo_table.css";
@import "css/demo_page.css";
$(document).ready(function() {
$('#example').dataTable();
} );
Column 1
Column 2
Data A1
Data B1
Data A2
Data B2
Column 1
Column 2
[/code]
This discussion has been closed.
Replies
Silly silly silly typo!
Allan