app/assets/javascripts/activegrid.js in activegrid-1.0.2 vs app/assets/javascripts/activegrid.js in activegrid-1.0.3

- old
+ new

@@ -53,10 +53,19 @@ order = field + (newDirection == "asc" ? "" : " DESC"); updateTable(); }); // Filtering - $(":input[data-activegrid-filter=true]", table).change(function() { + $(":input[data-activegrid-filter=true]", table).keyup(function() { + var self = $(this); + var field = self.attr("data-activegrid-filter-field"); + + filterField = field; + filterValue = self.val(); + updateTable(); + }); + + $(":select[data-activegrid-filter=true]", table).change(function() { var self = $(this); var field = self.attr("data-activegrid-filter-field"); filterField = field; filterValue = self.val();