i have an button that change the search command string, i want to update that string to "search" of searchManager and trigger the it to update data in the view
is that possible ?
can some one please help ?
example is better for me to understand .
@cuongnguyen112
You can update SearchManager
using below JS code.
var searchManager = new SearchManager(...) // this is your search manager
var UpdatedSearchCommand = "Search My new search String";
searchManager.settings.set("search",UpdatedSearchCommand )
searchManager.startSearch();
Thanks