Trying to get sorting by input val working and the doc has:
However in my download, nor on the site can I find where to download the plugin dataTables.dataSourcePlugins.js.
Also, can someone clue me in on how I might be able to define a sort by both placeholder and val? Right now the data is coming in as placeholders so that it can be changed by the user faster than having to select the val first. I would like to sort based on this. Thanks.
<script type="text/javascript" src="jquery.dataTables.js"></script> <script type="text/javascript" src="dataTables.dataSourcePlugins.js"></script> <script type="text/javascript"> $(document).ready(function() { $('#example').dataTable( { "aoColumns": [ null, null, { "sSortDataType": "dom-text" }, { "sSortDataType": "dom-text", "sType": "numeric" }, { "sSortDataType": "dom-select" }, { "sSortDataType": "dom-checkbox" } ] } ); } ); </script>
However in my download, nor on the site can I find where to download the plugin dataTables.dataSourcePlugins.js.
Also, can someone clue me in on how I might be able to define a sort by both placeholder and val? Right now the data is coming in as placeholders so that it can be changed by the user faster than having to select the val first. I would like to sort based on this. Thanks.