I have a datatables application that works perfectly in chrome/firefox, but statesave does not fuction in IE11 (I try sorting or searching, refresh, and that state is not preserved). Unfortunately most of my users will only have access to internet explorer. The statesave demo on the datatables website itself works for me in IE (https://www.datatables.net/examples/basic_init/state_save.html), so I know there's a way...
The application is rendered by flask, and the jquery and datatables libraries are stored locally due to security limitations on the server. I am including a complete example below in case there's anything at all missing to get this to work. Thanks all!!
<!DOCTYPE html>
<html>
<body>
<script type="text/javascript" src="{{url_for('static', filename='jquery.js') }}"></script>
<link rel="stylesheet" type="text/css" href="{{url_for('static', filename='datatables.min.css')}}"/>
<script type="text/javascript" src="{{url_for('static', filename='datatables.min.js') }}"></script>
<table width="100%" class="display" id="example" cellspacing="0">
<thead>
<tr>
<th>Name</th>
<th>Location</th>
<th>Age</th>
</tr>
</thead>
<tbody>
<tr>
<td>Haley Kennedy</td>
<td>Los Angeles</td>
<td>43</td>
</tr>
<tr>
<td>Michael Silva</td>
<td>New York</td>
<td>66</td>
</tr>
<tr>
<td>Bradley Greer</td>
<td>Paris</td>
<td>41</td>
</tr>
<tr>
<td>Doris Wilder</td>
<td>Sidney</td>
<td>23</td>
</tr>
</tbody>
</table>
<script type=text/javascript>
$(document).ready(function() {
$('#example').DataTable({
stateSave: true
});
});
</script>
</body>
</html>