Deep-linking for Grid Filters

If you want to a specific Grid Filter to load when someone visits the page, this can be accomplished with a url hashtag and some custom JavaScript.

 

JavaScript:

 

Usage:

Paste the code above into the “API/JavaScript” section of your Grid:
grid-deep-linking

 

Then link to the filter using the filter’s title in the url. For example, if we wanted to link a filter named “portfolio”, here’s what the url would look like:

http://www.yoursite.com/grid-page/#portfolio

 

And here’s an example of how you can automatically select a filter that contains two words:

http://www.yoursite.com/grid-page/#my-filter