Dave's Brain

Browse - programming tips - datatables refilter

Date: 2009dec18
Language: javaScript

Q.  How do I make the dataTables jQuery plugin refilter (the filtering
criteria has changed)?

A.  Call fnDraw() like this:

	// At initialization time:
	gTbl = $('#mytable').dataTable({


	// When the filter criteria has changed and you want to refilter.
	// This applies when you have a custom filter.
	gTbl.fnDraw();

What this info useful to you? You can donate to say thanks

Add a comment

Sign in to add a comment
Copyright © 2008-2012, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.