Created
March 4, 2015 06:17
-
-
Save JulienSansot/19f517e71a52322cd9f1 to your computer and use it in GitHub Desktop.
dataTable order on an other column
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#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