# Hide component

**URL:** <https://community.glideapps.com/t/hide-component/64350>\
**Category:** Ask for Help\
**Created:** [July 25, 2023, 3:07pm UTC](https://community.glideapps.com/t/hide-component/64350 "2023-07-25T15:07:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mina\_Jafari](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mina_jafari/32/61842_2.png) [@Mina\_Jafari](https://community.glideapps.com/u/Mina_Jafari)\
**Post date:** [July 25, 2023, 3:07pm UTC](https://community.glideapps.com/t/hide-component/64350/1 "2023-07-25T15:07:54Z")

</div>

Hi, Is there any way to hide a component while another component is shown?  
for example, in my app, I have a **list collection** to display a list of grades for one student. I have now added a **Hint** component that says ‘no grades available’ and want to show the Hint component only when there are no grades for that user.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 25, 2023, 3:26pm UTC](https://community.glideapps.com/t/hide-component/64350/2 "2023-07-25T15:26:26Z")

</div>

Use a rollup column to count the number of grades, then use the result of that to drive the visibility of your hint component. ie. only show it if the count is zero.
