Skip to content

Instantly share code, notes, and snippets.

@bsdlp
Created April 25, 2012 20:47
Show Gist options
  • Save bsdlp/2493236 to your computer and use it in GitHub Desktop.
Save bsdlp/2493236 to your computer and use it in GitHub Desktop.
datatables
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$('#example').dataTable( {
"bServerSide":false,
"bProcessing":true,
"sAjaxDataProp": "feed.entry",
"sAjaxSource": "https://spreadsheets.google.com/feeds/list/0AqTGLmDhGMFSdHYzUWhZaFdmdXZRLXdLWDBMVHk4c1E/od6/public/values?alt=json",
"aoColumns": [
{ "mDataProp": "gsx$name.$t" },
{ "mDataProp": "gsx$proficiency.$t" },
{ "mDataProp": "gsx$value.$t" },
]
} );
} );
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment