# No idea where to start. - Filtering a grid :(

**URL:** <https://www.ruby-forum.com/t/no-idea-where-to-start-filtering-a-grid/108196>\
**Category:** Rails\
**Created:** [June 29, 2007, 10:47pm UTC](https://www.ruby-forum.com/t/no-idea-where-to-start-filtering-a-grid/108196 "2007-06-29T22:47:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rjsquire](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/74df32/32.png) [@rjsquire](https://www.ruby-forum.com/u/rjsquire)\
**Post date:** [June 29, 2007, 10:47pm UTC](https://www.ruby-forum.com/t/no-idea-where-to-start-filtering-a-grid/108196/1 "2007-06-29T22:47:53Z")

</div>

I wrote a simple app that displays the photos that I have stored in a  
specified album. The view, as we would expect, just drops them all into  
a grid table. In the database table, each photo has a record indicating  
the path to the image, as well as 6 other values that correspond to  
details about the photo.

With having a few dozen photos on the page, the next step is trying to  
build a filter. On the top, I have a links that are generated for each  
year that is present in the photo database table. Ideally, when I click  
one, I would like to have the list refresh without refreshing the whole  
page. I’d also like to build in support for multiple values.

My question is this…

Where do I start? Is this something that will require RoR with Ajax or  
just DHTML layers since the photos are already loaded? Is there a  
plug-in anywhere? Or perhaps a better approach? I’m stumped.
