# Trouble making Filter work on a Grid?

**URL:** <https://forums.realmacsoftware.com/t/trouble-making-filter-work-on-a-grid/47991>\
**Category:** Elements\
**Created:** [June 9, 2025, 5:30pm UTC](https://forums.realmacsoftware.com/t/trouble-making-filter-work-on-a-grid/47991 "2025-06-09T17:30:02Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruce](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bruce/32/23155_2.png) [@bruce](https://forums.realmacsoftware.com/u/bruce)\
**Post date:** [June 9, 2025, 5:30pm UTC](https://forums.realmacsoftware.com/t/trouble-making-filter-work-on-a-grid/47991/1 "2025-06-09T17:30:02Z")

</div>

I can’t find why this Filter does not work on the grid items. I think I have it set up correctly. It works if I remove the containers from the grid.

---

<div class="post-metadata">

**Author:** ![bruce](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bruce/32/23155_2.png) [@bruce](https://forums.realmacsoftware.com/u/bruce)\
**Post date:** [June 9, 2025, 9:45pm UTC](https://forums.realmacsoftware.com/t/trouble-making-filter-work-on-a-grid/47991/2 "2025-06-09T21:45:32Z")

</div>

I had this working before the last beta update. I’ve tried everything. I have to wonder if there’s a bug stopping Filter from working on a Grid? Can someone else please do a simple Grid and Filter setup to test?

---

<div class="post-metadata">

**Author:** ![handshaper](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/handshaper/32/27373_2.png) [@handshaper](https://forums.realmacsoftware.com/u/handshaper)\
**Post date:** [June 9, 2025, 10:00pm UTC](https://forums.realmacsoftware.com/t/trouble-making-filter-work-on-a-grid/47991/3 "2025-06-09T22:00:41Z")

</div>

I am using a filter on one of my sites with a grid and it seems to be working just fine. I can type in the filter and it finds what I’m looking for in the cards within the grid.

---

<div class="post-metadata">

**Author:** ![bruce](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bruce/32/23155_2.png) [@bruce](https://forums.realmacsoftware.com/u/bruce)\
**Post date:** [June 9, 2025, 10:59pm UTC](https://forums.realmacsoftware.com/t/trouble-making-filter-work-on-a-grid/47991/4 "2025-06-09T22:59:42Z")

</div>

@handshaper Can you look at my file and see if you can figure out why it does not work there? Here’s what the simple setup looks like. And all the containers under the Grid are set to Enable Filtering.

 ![Screenshot 2025-06-09 at 5.58.35 PM](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/3/2/32f1e4f96bfb9d83c03af6e76146f39cb71233f8.png)

---

<div class="post-metadata">

**Author:** ![handshaper](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/handshaper/32/27373_2.png) [@handshaper](https://forums.realmacsoftware.com/u/handshaper)\
**Post date:** [June 9, 2025, 11:24pm UTC](https://forums.realmacsoftware.com/t/trouble-making-filter-work-on-a-grid/47991/5 "2025-06-09T23:24:25Z")

</div>

Can you upload it to Elements Cloud and then I can look at it. It did not translate from Dropbox, all I got was a folder with a bunch of folders inside it, so it was not an actual project.

If you upload it to the Cloud you can get a link that allows us to open it up directly in Elements.

---

<div class="post-metadata">

**Author:** ![bruce](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bruce/32/23155_2.png) [@bruce](https://forums.realmacsoftware.com/u/bruce)\
**Post date:** [June 10, 2025, 12:09am UTC](https://forums.realmacsoftware.com/t/trouble-making-filter-work-on-a-grid/47991/6 "2025-06-10T00:09:48Z")

</div>

I will do that. First I need to figure out how!

---

<div class="post-metadata">

**Author:** ![bruce](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bruce/32/23155_2.png) [@bruce](https://forums.realmacsoftware.com/u/bruce)\
**Post date:** [June 10, 2025, 12:14am UTC](https://forums.realmacsoftware.com/t/trouble-making-filter-work-on-a-grid/47991/7 "2025-06-10T00:14:18Z")

</div>

@handshaper OK It’s uploaded to the Elements cloud. Try this link. Looks like you have to copy/paste the URL.

elementsapp://downloadDocument/K9jGDMR00qnN

---

<div class="post-metadata">

**Author:** ![handshaper](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/handshaper/32/27373_2.png) [@handshaper](https://forums.realmacsoftware.com/u/handshaper)\
**Post date:** [June 10, 2025, 7:04am UTC](https://forums.realmacsoftware.com/t/trouble-making-filter-work-on-a-grid/47991/8 "2025-06-10T07:04:14Z")

</div>

OK, I took a look at this, and as far as I can tell you CANNOT filter on the contents of a grid.

There are some obvious reasons why this would not work, but I could be entirely wrong.

What filtering does is narrow down the filtered items based on what you type (it is not a search feature). But because the items are in a grid how is Elements supposed to know how to show and hide grid items correctly?

So I took the four containers you had and placed them below the filter in the parent container (not in a container of their own. When you type something in the filter field it will hide the containers that don’t match, and it worked just fine.

All of the items you want to participate in the filtering need to have it enabled and set to the parent, which is the same parent as that the filter is in.

This is probably not what you were looking for as I’m sure you started with a grid for a reason. That is what I was able to figure out.

Let me know if you want me to send you the modified project.

BTW, I also had to add some background colors to the project and some of the containers so you could see what was going on. Otherwise, none of the text was visible.

Here is a GIF showing it working.

![CleanShot 2025-06-09 at 21.02.50](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/7/4/749193dc37b7feabd9da74c306f298b81d00de8b.gif)

---

<div class="post-metadata">

**Author:** ![bruce](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bruce/32/23155_2.png) [@bruce](https://forums.realmacsoftware.com/u/bruce)\
**Post date:** [June 10, 2025, 1:16pm UTC](https://forums.realmacsoftware.com/t/trouble-making-filter-work-on-a-grid/47991/9 "2025-06-10T13:16:35Z")

</div>

@handshaper Thanks. Earlier you said you had it working on a Grid? @dan shows Filter working on a grid setup just like the setup I am trying in my site project. He shows it at 5:30 in Dev Diary Ep61. There’s a problem that it does not work now.

---

<div class="post-metadata">

**Author:** ![bruce](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bruce/32/23155_2.png) [@bruce](https://forums.realmacsoftware.com/u/bruce)\
**Post date:** [June 10, 2025, 2:22pm UTC](https://forums.realmacsoftware.com/t/trouble-making-filter-work-on-a-grid/47991/10 "2025-06-10T14:22:49Z")

</div>

OK, I got it working. I had to set the Custom Group ID. I’m 99% certain that it worked before using Parent. I hope @dan and @ben take a look and see if this needs fixing in the code.

---

<div class="post-metadata">

**Author:** ![handshaper](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/handshaper/32/27373_2.png) [@handshaper](https://forums.realmacsoftware.com/u/handshaper)\
**Post date:** [June 10, 2025, 4:25pm UTC](https://forums.realmacsoftware.com/t/trouble-making-filter-work-on-a-grid/47991/11 "2025-06-10T16:25:28Z")

</div>

Oops, sorry I forgot that I did have it working in a grid on my site, here - [Catalog](https://gb24-box.com/catalog/)

I also got it working in your example, where you had forgotten to set the group ID on all of the grid items, so it now works as you have figured out.

I agree with you though it seems the parent setting should work as well. It does if the grid is set to parent, but the grid items are part of a group ID, if they are set to parent it does not work.

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [June 11, 2025, 7:04am UTC](https://forums.realmacsoftware.com/t/trouble-making-filter-work-on-a-grid/47991/12 "2025-06-11T07:04:47Z")

</div>

> [@handshaper](#):
>
> the grid items are part of a group ID, if they are set to parent it does not work

do you have an example project where this is not working? Wondering if we might have a small bug, as what you’re describing should work 🙂

---

<div class="post-metadata">

**Author:** ![bruce](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bruce/32/23155_2.png) [@bruce](https://forums.realmacsoftware.com/u/bruce)\
**Post date:** [June 11, 2025, 1:28pm UTC](https://forums.realmacsoftware.com/t/trouble-making-filter-work-on-a-grid/47991/13 "2025-06-11T13:28:14Z")

</div>

@ben My example where it does not work is still in the Elements Cloud here:

elementsapp://downloadDocument/K9jGDMR00qnN

My understanding is that if the Filter is set to Parent, then anything filterable inside the Parent will be filtered (if enabled). This is currently not true for the contents of a Grid that is inside the Parent.

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [June 12, 2025, 7:02am UTC](https://forums.realmacsoftware.com/t/trouble-making-filter-work-on-a-grid/47991/14 "2025-06-12T07:02:26Z")

</div>

Hi @bruce — I had a look at your project, and it’s actually working as expected.

The issue is that the Filter component and the Container components have **different parents**. The Filter’s parent is the Container (outside the Grid), while the Containers’ parent is the Grid. Because of this mismatch, the Parent setting doesn’t link them.

To fix it, either:

- Move the Filter inside the Grid (so it shares the same parent as the Containers), **or**
- Use a **Custom ID** to explicitly link them.

Hope that clears it up! 😊

 ![CleanShot 2025-06-12 at 08.55.15@2x](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/0/6/06be3e7a393a236527b1a15c5ef325c4cc5e7db7.png)

---

<div class="post-metadata">

**Author:** ![bruce](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bruce/32/23155_2.png) [@bruce](https://forums.realmacsoftware.com/u/bruce)\
**Post date:** [June 12, 2025, 1:44pm UTC](https://forums.realmacsoftware.com/t/trouble-making-filter-work-on-a-grid/47991/15 "2025-06-12T13:44:30Z")

</div>

Thanks for the clarification @ben. I have it working now using a Custom ID. I tried placing the Filter in the Grid. It uses one of the Grid spaces. Maybe some users have a reason to do that, but I don’t. It looks like this:

 ![Screenshot 2025-06-12 at 8.39.13 AM](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/6/1/616b9fbbdee4981f5d5be817d18e2ba03c89efa8.png)

I suggest and hope that when you folks write the Filter section of the manual that you make the setup with a Grid clear.
