Skip to content

Instantly share code, notes, and snippets.

@JulienSansot
Created March 4, 2015 06:17
Show Gist options
  • Save JulienSansot/19f517e71a52322cd9f1 to your computer and use it in GitHub Desktop.
Save JulienSansot/19f517e71a52322cd9f1 to your computer and use it in GitHub Desktop.
dataTable order on an other column
$('#table').dataTable({
ajax: '/things',
columns:[
{data: 'col1', visible: false },
{data: 'col2', title:'col2', dataSort:'0'}
]
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment