title: Google Script to hide rows in Google Sheets
body: <p>I have Google sheet with Product Type column (with following dropdown values Type 1, Type and Type) and rows as shown in picture. I am trying to achieve using google script to show only the rows based on Product Type value (if I select Type 1, I want to hide the rows which have Type 2 and Type 3 values in the same column). Here I cannot use a filter because there are some titles in some rows. Any help would be greatly appreciated.</p>
  
  <p><a href="https://i.stack.imgur.com/rhDNV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rhDNV.png" alt="Screenshot"></a></p>
  
  <p><a href="https://i.stack.imgur.com/JNfVy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JNfVy.png" alt="enter image description here"></a></p>