Open slyapustin opened 11 years ago
For this you have to customise filter.js. You have to comment out following line in filter.js.
this.bindEvents(); //line: 59
After this you have to create FilterJS object and then bind event on button i.e
var fjs = FilterJS(items, "#container", view, options);
$('#search_button').on('click', function(){
fjs.filter();
})
Thanks!
Hi, is there something wrong with this method on the current version? I cant seem to stop the auto searching
I check above things and it is working. Can you send me more detail how you have implemeted so I can get better idea.
http://jshdk.co.uk/anime/ is where i'm trying to implement it, you should be able to see the links to the css and js files, Thanks!
Hello,
I am not finding the "this.bindEvents();" line of code in filter.js - Does it cahnged in the latest version. CAn you help stopping the instant search.
Also, I want to stop showing all the results by default. can you let me know if this is possible to do, if so can you guide me.
~S.
Yes version is changed.
So can you help implement stopping the initial search and not show the results by default? Thanks.
This weekend I am going to update filter.js for few more features and also this one.
Thanks very much. I will be waiting excited to see how it works.
I have many complex objects (about 5000) and want to have ability to filter them on page. But i don't want to trigger instant search after enter every symbol and choosing every search criteria. I want to bind filter() only to search button click event.