Quantcast
Viewing all articles
Browse latest Browse all 82127

Individual column filtering (using select) doesn't work with Ajax source

Hi,

I've combined two examples:
http://www.datatables.net/release-datatables/examples/api/multi_filter_select.html
http://www.datatables.net/release-datatables/examples/ajax/ajax.html
together but unfortunately when I use Ajax source all filtering selects are empty. Can I somehow combine those two functionalities ?

Apparently this is not a bug as it has been fixed (http://code.google.com/p/jquery-datatables-column-filter/issues/detail?id=34) but it still doesn't work for me.

My code is exactly the same as one from this example: http://www.datatables.net/release-datatables/examples/api/multi_filter_select.html
The only difference is that I've removed whole tbody content and added Ajax stuff so now initialization looks like that

			$(document).ready(function() {
				/* Initialise the DataTable */
				var oTable = $('#example').dataTable( {
					"bProcessing": true,
					"sAjaxSource": "arrays.txt",					
					"oLanguage": {
						"sSearch": "Search all columns:"
					}
				} );

Viewing all articles
Browse latest Browse all 82127

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>